removed email sending from each job
email sent when the batch is finished