action mailer monkey patch to preprocess input for actionmailer