CoursePress Enrollment Emails: Multiples Sent Within Minutes of Each Other

Hi -

Months ago I asked for some insight on automated enrollment code in this thread: https://premium.wpmudev.org/forums/topic/standard-method-for-auto-enrolling-subscribers-in-membership-2-to-all-coursepress-courses

That was abandoned by the developer it was assigned to, as far as I can tell.

I implemented the code it refers to (found here: https://premium.wpmudev.org/forums/topic/auto-enroll-in-coursepress-courses-based-on-membership2-membership-level) and it seems to work - if someone purchases a subscription, they are enrolled in the course automatically.

However, Coursepress sends at least 5 "you are now enrolled" emails for each course in rapid-fire upon subscription.

And if a person simply signs up for the free course, they receive multiple and unending enrollment emails every time they log in. This isn't even something we customized, so I have no idea why this is happening.