add mailer  and exclude   freemarker template