fix for Mailer create type