Add message when trouble sending email ref #1799

When a problem occurs while sending an email, we display a blank page ...
 let's at least display an error page :)

ref #1799