Add cron job function and tidy up send_email function
Removed settings.php file from within /local/testaccount_automation/