catch email exceptions