Cron working, email working. Added remaining TODO's. Nearly done