code: static void setAttachments(final Email email, final MimeMultipart multipartRoot)
  			throws MessagingException {
  		for (final AttachmentResource resource : email.getAttachments()) {
  			multipartRoot.addBodyPart(getBodyPartFromDatasource(resource, Part.ATTACHMENT));
  		}
  	}
docs: Fills the {@link Message} instance with the attachments from the {@link Email}.
  
  @param email         The message in which the attachments are defined.
  @param multipartRoot The branch in the email structure in which we'll stuff the attachments.
  @throws MessagingException See {@link MimeMultipart#addBodyPart(BodyPart)} and {@link #getBodyPartFromDatasource(AttachmentResource, String)}