Add elmah logging to mailer and user repo