Added a function for creating a new email template.