Recurring enrollment emails

I am getting repeated enrollment confirmation emails from the site I'm working on. At first I thought it was sending them every time I changed a theme (it was) but it's also sending these enrollment confirmation emails when I view or visit the page.

The message being sent is the Course Enrollment Confirmation Email.