altered plugin mailer