Added execption printing to console (in case the logic in the exception handling is failing like when a mail failes to be sent)