add email functionality & cron to project