mailer and validation