public EmailSender(
     ILogger logger,
     EmailsConfiguration configuration,
     ISqlConnectionFactory sqlConnectionFactory)
 {
     _logger               = logger;
     _configuration        = configuration;
     _sqlConnectionFactory = sqlConnectionFactory;
 }
 public EmailSender(ILogger logger, EmailsConfiguration configuration)
 {
     _logger        = logger;
     _configuration = configuration;
 }