Mailer type fix