Implement daily email sending
Fix bug in setting the last e-mail date in the daily cronjob