Fix mailer plugin