Added email-sending to cron