Delete email template functionality