public string GenerateMessage(IEmotionStrategy emotionStrategy, string userName)
 {
     return($"Greetings {userName}, \n" + Environment.NewLine + Environment.NewLine +
            "We see that you have uploaded a profile picture!\n" +
            $"Our face recognition service recognized you as being {emotionStrategy.Emotion}. \n" + Environment.NewLine + Environment.NewLine +
            "Best regards, \n" +
            "Bookster Team");
 }
 public void ProcessSendingMessage(FaceAttributes[] faceAttributeses, string userMail, string userName)
 {
     if (FaceValidating(faceAttributeses))
     {
         this.emotionStrategy = emotionStrategyFactory.CreatEmotionStrategy(faceAttributeses[0]);
         smtpSender.SendMail(userMail, newProfilePictureSubject, GenerateMessage(emotionStrategy, userName));
     }
 }