updates to add an email cron process