updated to email template