Remove router and templating from Mailer services
Add setting parameters of Mailer service