Fix a date bug in plugin.billing_period.
Add check for already sent email warnings, preventing sending a new copy each run.