langchain/docs/extras/modules/data_connection
Matt Robinson 0498dad562
feat: enable UnstructuredEmailLoader to process attachments (#6977)
### Summary

Updates `UnstructuredEmailLoader` so that it can process attachments in
addition to the e-mail content. The loader will process attachments if
the `process_attachments` kwarg is passed when the loader is
instantiated.

### Testing

```python

file_path = "fake-email-attachment.eml"
loader = UnstructuredEmailLoader(
    file_path, mode="elements", process_attachments=True
)
docs = loader.load()
docs[-1]
```

### Reviewers

-  @rlancemartin 
-  @eyurtsev
- @hwchase17
2023-07-01 06:09:26 -07:00
..
document_loaders/integrations feat: enable UnstructuredEmailLoader to process attachments (#6977) 2023-07-01 06:09:26 -07:00
document_transformers/text_splitters MD header text splitter returns Documents (#6571) 2023-06-22 09:25:38 -07:00
retrievers Zep Authentication (#6728) 2023-06-30 14:24:26 -07:00
text_embedding/integrations Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
vectorstores/integrations Add New Retriever Interface with Callbacks (#5962) 2023-06-30 14:44:03 -07:00