Email error catcher.

This will help catch email errors.