Files
langchain/tests/integration_tests/document_loaders
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
..
2023-04-26 21:04:56 -07:00
2023-03-28 08:17:22 -07:00
2023-03-28 08:38:19 -07:00
2023-06-07 21:32:23 -07:00
2023-03-28 15:28:33 -07:00
2023-05-05 14:48:13 -07:00
2023-06-01 00:54:42 -07:00
2023-05-14 22:04:38 -07:00
2023-05-01 20:56:56 -07:00