fix for set email template