public static IRepositoryBuilder UseMailProvider(this IRepositoryBuilder repositoryBuilder, MailProvider mailProvider)
        {
            Providers.Instance.SetProvider(typeof(MailProvider), mailProvider);
            SnLog.WriteInformation($"MailProvider created: {mailProvider?.GetType().FullName}");

            return(repositoryBuilder);
        }