Add mailer function and translation