Log Exception occuring when sending e-mail alerts (notifications).

Logs the possible Exception that can occur when sending e-mails notifications (either db or mail related).