Better use of mailer tag in xml