You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/docs
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
1 year ago
..
api_reference Page per class-style api reference (#6560) 1 year ago
docs_skeleton Fix typo in quickstart.mdx (#6985) 1 year ago
extras feat: enable `UnstructuredEmailLoader` to process attachments (#6977) 1 year ago
snippets Fix: Correct typo (#6988) 1 year ago
.local_build.sh Harrison/deeplake new features (#6263) 1 year ago
requirements.txt Page per class-style api reference (#6560) 1 year ago