submit data controller for use with mailer