public CoreNotificationService(DataSettings dataSettings, ILogger logger = null)
        {
            Logger       = logger ?? Log.Default;
            DataSettings = dataSettings;
            string emailTemplatesDirectory = dataSettings.GetEmailTemplatesDirectory().FullName;

            NotificationTemplateDirectory = new DirectoryInfo(Path.Combine(dataSettings.GetRootDataDirectory().FullName, "NotificationTemplates"));
            Templates = new HandlebarsDirectory(NotificationTemplateDirectory);
            Tld       = "com";
            Templates.Reload();
        }