.eml) or Microsoft Outlook (.msg) files.
Please see Unstructured for more instructions on setting up Unstructured locally, including setting up required system dependencies.
Using unstructured
Retain elements
在底层,Unstructured 为不同的文本块创建不同的 “elements”。默认情况下我们将它们组合在一起,但你可以通过指定mode="elements" 轻松保持这种分离。
Processing attachments
You can process attachments withUnstructuredEmailLoader by setting process_attachments=True in the constructor. By default, attachments will be partitioned using the partition function from unstructured. You can use a different partitioning function by passing the function to the attachment_partitioner kwarg.
Using OutlookMessageLoader
通过 MCP 将这些文档连接到 Claude、VSCode 等工具以获取实时答案。

