private void NotifyOnMail(User user, INotificationInfo notificationInfo) { var messageContent = _messageMapper.MapNotification(notificationInfo, user.UserProfile.Name); var notificationType = notificationInfo.GetNotificationType(); _sender.SendMessage(user.UserProfile.Email, messageContent, _messageThemes[notificationType]); }