adds some stuff for mailer