Added the ability to email errors for quick turnaround