[IMP][website_mail] Converted email_template.py to new api[mass_mailing]used xmlid_to_res_id