code: static void setTexts(final Email email, final MimeMultipart multipartAlternativeMessages)
  			throws MessagingException {
  		if (email.getPlainText() != null) {
  			final MimeBodyPart messagePart = new MimeBodyPart();
  			messagePart.setText(email.getPlainText(), CHARACTER_ENCODING);
  			multipartAlternativeMessages.addBodyPart(messagePart);
  		}
  		if (email.getHTMLText() != null) {
  			final MimeBodyPart messagePartHTML = new MimeBodyPart();
  			messagePartHTML.setContent(email.getHTMLText(), "text/html; charset=\"" + CHARACTER_ENCODING + "\"");
  			multipartAlternativeMessages.addBodyPart(messagePartHTML);
  		}
  		if (email.getCalendarText() != null && email.getCalendarMethod() != null) {
  			final MimeBodyPart messagePartCalendar = new MimeBodyPart();
  			messagePartCalendar.setContent(email.getCalendarText(), "text/calendar; charset=\"" + CHARACTER_ENCODING + "\"; method=\"" + email.getCalendarMethod().toString() + "\"");
  			multipartAlternativeMessages.addBodyPart(messagePartCalendar);
  		}
  	}
docs: Fills the {@link Message} instance with the content bodies (text, html and calendar).
  
  @param email                        The message in which the content is defined.
  @param multipartAlternativeMessages See {@link MimeMultipart#addBodyPart(BodyPart)}
  @throws MessagingException See {@link BodyPart#setText(String)}, {@link BodyPart#setContent(Object, String)} and {@link
  MimeMultipart#addBodyPart(BodyPart)}.