Added error record email to scheduler@