Fixes for send email notifications debugging (better exception messages)