/**
  * @param NotifierMessage $message
  *
  * @return MailerMessage
  */
 private function buildMailerMessage(NotifierMessage $message)
 {
     return new MailerMessage($message->from(), $message->to(), $message->message(), $message->subject());
 }
 /**
  * @param NotifierMessage $message
  *
  * @return Notification
  */
 private function buildNotification(NotifierMessage $message)
 {
     return new Notification($this->identifierService->generateIdentity(), $message->from(), $message->to(), $this->buildContent($message));
 }