added some error checking to agenda *send email alert* job