Try the code sample to convert MHTML files to OST format in Java. Download Java API to take your email processing applications to the next level....getSubFolder ( "Inbox" ); // Add the EML message to the Inbox folder folderInfo...library supports conversion from EML , EMLX , ICS , MBOX , MHTML ...