Add AgentMail integration docs (provider, toolkit, loader, retriever)#4055
Merged
Naomi Pentrel (npentrel) merged 5 commits intoMay 29, 2026
Merged
Conversation
AgentMail is an inbox-as-an-API platform built for AI agents. The langchain-agentmail package provides a toolkit (send / reply / drafts / attachments / labels / inbox + thread management), an AgentMailLoader for indexing messages as Documents, and a keyword AgentMailRetriever. Adds the standard set of integration pages plus the registry entry and the index-page references that surface those pages in the integration listings.
Contributor
|
Thanks for opening a docs PR, Joseph Feleke (@josephfeleke)! When it's ready for review, please add the relevant reviewers:
|
Contributor
Author
|
Hey Mason Daugherty (@mdrxy) — this PR is ready for review when you have time. Thanks! |
Naomi Pentrel (npentrel)
approved these changes
May 29, 2026
Contributor
Naomi Pentrel (npentrel)
left a comment
There was a problem hiding this comment.
lgtm - thanks! Just merged latest changes in
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds integration docs for AgentMail, an inbox-as-an-API platform for AI agents. The
langchain-agentmailpackage (source: github.com/agentmail-to/langchain-agentmail) provides:AgentMailLoader— streams inbox messages as LangChainDocuments (one per message, plain-text body + email metadata).AgentMailRetriever— keyword search over an inbox; ranks subject hits 2× over body hits.Files added
src/oss/python/integrations/providers/agentmail.mdx— provider overview + installsrc/oss/python/integrations/tools/agentmail.mdx— toolkit page (instantiation, invocation, drafts, attachments, agent example)src/oss/python/integrations/document_loaders/agentmail.mdx— loader page (load, lazy_load, vector store recipe)src/oss/python/integrations/retrievers/agentmail.mdx— retriever pageFiles modified
packages.yml— registerlangchain-agentmail(repo:agentmail-to/langchain-agentmail)src/oss/python/integrations/providers/all_providers.mdx— add the AgentMail card alphabeticallysrc/oss/python/integrations/tools/index.mdx— add AgentMail Toolkit to the Productivity table + alphabetical cardsrc/oss/python/integrations/document_loaders/index.mdx— add AgentMail to the Productivity tools table + alphabetical cardsrc/oss/python/integrations/retrievers/index.mdx— add alphabetical cardNotes for reviewers
0.1.0; the broader 0.2.0 surface (drafts, attachments, loader, retriever, webhooks) ships in the next release. Docs reference the published install path (pip install langchain-agentmail); examples that depend on 0.2.0-only classes will land on PyPI before this PR merges if needed.agentphoneprovider/tool pages.js: "n/a"set inpackages.yml.