MHTML is a is used both for emails but also for archived webpages. MHTML, sometimes referred as MHT, stands for MIME HTML is a single file in which entire webpage is archived. When one saves a webpage as MHTML format, this file extension will contain HTML code, images, audio files, flash animation etc.
from langchain.document_loaders import MHTMLLoader
# Create a new loader object for the MHTML file
loader = MHTMLLoader(
# Load the document from the file
documents = loader.load()
# Print the documents to see the results
for doc in documents: