working on the mailer stuff