class MailUtil {

	public static EMail messageToMail(InputStream is, boolean extractAttachmentContent)
			throws MessagingException, IOException {
		MimeMessage msg = readMime(is);
		return messageToMail(msg, extractAttachmentContent);
	}

}