public EmailHistoryInteractor(IMapper mapper, IEmailHistoryRepository emailHistoryRepository,
                               IEmailProviderRepository emailProviderRepository, IEmailChannelRepository emailChannelRepository, ILogger <EmailHistoryInteractor> logger)
 {
     _mapper = mapper;
     _emailHistoryRepository  = emailHistoryRepository;
     _emailProviderRepository = emailProviderRepository;
     _emailChannelRepository  = emailChannelRepository;
     _logger = logger;
 }
 public NotificationHandler(
     IPetRepository petRepository,
     INotificationRepository notificationRepository,
     IMapper mapper,
     IUnitOfWork unitOfWork,
     IMailHandler mailHandler,
     IUserHandler userHandler,
     IUserRepository userRepository,
     IEmailHistoryRepository emailHistoryRepository,
     MailSettings mailSettings)
 {
     _petRepository          = petRepository;
     _notificationRepository = notificationRepository;
     _mapper                 = mapper;
     _unitOfWork             = unitOfWork;
     _petRepository          = petRepository;
     _notificationRepository = notificationRepository;
     _mailHandler            = mailHandler;
     _userHandler            = userHandler;
     _userRepository         = userRepository;
     _emailHistoryRepository = emailHistoryRepository;
     _mailSettings           = mailSettings;
 }