Files
langchain-python/langchain
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-06-26 00:49:32 -07:00
2023-06-18 16:55:18 -07:00
2023-06-29 12:20:55 -07:00
2023-06-20 22:07:00 -07:00
2023-06-30 14:24:26 -07:00
2023-06-30 06:52:09 -07:00
2023-06-11 15:51:28 -07:00
2023-06-08 21:15:14 -07:00
2023-06-03 16:48:48 -07:00
2022-11-12 11:22:32 -08:00
2023-02-20 21:15:45 -08:00