fixes mailer