Reminder email is sent too early
If you register before the cron job mail is sent, you will receive a red reminder mail in addition to the first mail of registration on the same day.
Remedy: Do not send a reminder email if the day of registration for a learning phase coincides with the current day of the cron job.