use profile mechanism for mailer too