[mailer] registration mailer template setup
[mailer] templates bug fix