changes for email templates