Scheduler exception mail

E-mail the inner exception when a task fails.