added base template model for email templates