edited delete to email template