Skip to content

Add AgentMail integration docs (provider, toolkit, loader, retriever)#4055

Merged
Naomi Pentrel (npentrel) merged 5 commits into
langchain-ai:mainfrom
agentmail-to:agentmail/integration-docs
May 29, 2026
Merged

Add AgentMail integration docs (provider, toolkit, loader, retriever)#4055
Naomi Pentrel (npentrel) merged 5 commits into
langchain-ai:mainfrom
agentmail-to:agentmail/integration-docs

Conversation

@josephfeleke
Copy link
Copy Markdown
Contributor

Summary

Adds integration docs for AgentMail, an inbox-as-an-API platform for AI agents. The langchain-agentmail package (source: github.com/agentmail-to/langchain-agentmail) provides:

  • A toolkit covering send / reply / list / get / labels for messages, plus create / update / send / delete drafts, attachment download, and inbox + thread management.
  • AgentMailLoader — streams inbox messages as LangChain Documents (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 + install
  • src/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 page

Files modified

  • packages.yml — register langchain-agentmail (repo: agentmail-to/langchain-agentmail)
  • src/oss/python/integrations/providers/all_providers.mdx — add the AgentMail card alphabetically
  • src/oss/python/integrations/tools/index.mdx — add AgentMail Toolkit to the Productivity table + alphabetical card
  • src/oss/python/integrations/document_loaders/index.mdx — add AgentMail to the Productivity tools table + alphabetical card
  • src/oss/python/integrations/retrievers/index.mdx — add alphabetical card

Notes for reviewers

  • The package is currently on PyPI at 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.
  • Followed the format used by the existing agentphone provider/tool pages.
  • No JS counterpart — js: "n/a" set in packages.yml.

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.
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for opening a docs PR, Joseph Feleke (@josephfeleke)! When it's ready for review, please add the relevant reviewers:

  • @mdrxy (Python integrations)

@github-actions github-actions Bot added external User is not a member of langchain-ai langchain For docs changes to LangChain oss python For content related to the Python version of LangChain projects labels May 18, 2026
@josephfeleke
Copy link
Copy Markdown
Contributor Author

Hey Mason Daugherty (@mdrxy) — this PR is ready for review when you have time. Thanks!

@lnhsingh Lauren Hirata Singh (lnhsingh) added the integration For docs updates for LangChain integrations label May 27, 2026
Copy link
Copy Markdown
Contributor

@npentrel Naomi Pentrel (npentrel) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - thanks! Just merged latest changes in

Comment thread src/oss/python/integrations/document_loaders/agentmail.mdx Outdated
Comment thread src/oss/python/integrations/document_loaders/agentmail.mdx Outdated
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Comment thread src/oss/python/integrations/providers/agentmail.mdx Outdated
Comment thread src/oss/python/integrations/providers/agentmail.mdx Outdated
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Comment thread src/oss/python/integrations/tools/agentmail.mdx Outdated
Comment thread src/oss/python/integrations/tools/agentmail.mdx Outdated
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
@npentrel Naomi Pentrel (npentrel) merged commit c7adb96 into langchain-ai:main May 29, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external User is not a member of langchain-ai integration For docs updates for LangChain integrations langchain For docs changes to LangChain oss python For content related to the Python version of LangChain projects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants