removed all job code except for send email method for testing