Add logging, mailer raises exception