added ability to disable email template via the config