Capture exceptions on email sending