fixing email template