add mailer  and exclude   freemarker template
add mailer  and exclude   freemarker template