mailer fix settings and email in params