code: protected MailMessage createMailRequest(Map<String, Object> messageHeaders, BodyPart bodyPart, MailEndpointConfiguration endpointConfiguration) {
          return MailMessage.request(messageHeaders)
                          .marshaller(endpointConfiguration.getMarshaller())
                          .from(messageHeaders.get(CitrusMailMessageHeaders.MAIL_FROM).toString())
                          .to(messageHeaders.get(CitrusMailMessageHeaders.MAIL_TO).toString())
                          .cc(messageHeaders.get(CitrusMailMessageHeaders.MAIL_CC).toString())
                          .bcc(messageHeaders.get(CitrusMailMessageHeaders.MAIL_BCC).toString())
                          .subject(messageHeaders.get(CitrusMailMessageHeaders.MAIL_SUBJECT).toString())
                          .body(bodyPart);
      }
docs: Creates a new mail message model object from message headers.
  @param messageHeaders
  @param bodyPart
  @param endpointConfiguration
  @return