this does the mailer thing