[PR #4055] [MERGED] Add AgentMail integration docs (provider, toolkit, loader, retriever) #4060

Closed
opened 2026-06-05 19:12:37 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/4055
Author: @josephfeleke
Created: 5/18/2026
Status: Merged
Merged: 5/29/2026
Merged by: @npentrel

Base: mainHead: agentmail/integration-docs


📝 Commits (5)

  • 60f9390 Add AgentMail integration docs (provider, toolkit, loader, retriever)
  • 35c1195 Merge branch 'main' into agentmail/integration-docs
  • e0f4584 Apply suggestions from code review
  • 32ba079 Apply suggestions from code review
  • 1705b32 Apply suggestions from code review

📊 Changes

9 files changed (+397 additions, -0 deletions)

View changed files

📝 packages.yml (+3 -0)
src/oss/python/integrations/document_loaders/agentmail.mdx (+85 -0)
📝 src/oss/python/integrations/document_loaders/index.mdx (+9 -0)
src/oss/python/integrations/providers/agentmail.mdx (+36 -0)
📝 src/oss/python/integrations/providers/all_providers.mdx (+8 -0)
src/oss/python/integrations/retrievers/agentmail.mdx (+61 -0)
📝 src/oss/python/integrations/retrievers/index.mdx (+1 -0)
src/oss/python/integrations/tools/agentmail.mdx (+192 -0)
📝 src/oss/python/integrations/tools/index.mdx (+2 -0)

📄 Description

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.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/4055 **Author:** [@josephfeleke](https://github.com/josephfeleke) **Created:** 5/18/2026 **Status:** ✅ Merged **Merged:** 5/29/2026 **Merged by:** [@npentrel](https://github.com/npentrel) **Base:** `main` ← **Head:** `agentmail/integration-docs` --- ### 📝 Commits (5) - [`60f9390`](https://github.com/langchain-ai/docs/commit/60f9390f795838a89c3906ed206086e468623c08) Add AgentMail integration docs (provider, toolkit, loader, retriever) - [`35c1195`](https://github.com/langchain-ai/docs/commit/35c11959ed52333525a572bb54e74fc8e7384240) Merge branch 'main' into agentmail/integration-docs - [`e0f4584`](https://github.com/langchain-ai/docs/commit/e0f45849b13e29fd8907a847cc17c0553c19d0b2) Apply suggestions from code review - [`32ba079`](https://github.com/langchain-ai/docs/commit/32ba079112cc6474134cce15af42501ca8bacccb) Apply suggestions from code review - [`1705b32`](https://github.com/langchain-ai/docs/commit/1705b3201151528ce8bf4f2a3ad2ebae55148fc6) Apply suggestions from code review ### 📊 Changes **9 files changed** (+397 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages.yml` (+3 -0) ➕ `src/oss/python/integrations/document_loaders/agentmail.mdx` (+85 -0) 📝 `src/oss/python/integrations/document_loaders/index.mdx` (+9 -0) ➕ `src/oss/python/integrations/providers/agentmail.mdx` (+36 -0) 📝 `src/oss/python/integrations/providers/all_providers.mdx` (+8 -0) ➕ `src/oss/python/integrations/retrievers/agentmail.mdx` (+61 -0) 📝 `src/oss/python/integrations/retrievers/index.mdx` (+1 -0) ➕ `src/oss/python/integrations/tools/agentmail.mdx` (+192 -0) 📝 `src/oss/python/integrations/tools/index.mdx` (+2 -0) </details> ### 📄 Description ## Summary Adds integration docs for [AgentMail](https://agentmail.to), an inbox-as-an-API platform for AI agents. The `langchain-agentmail` package (source: [github.com/agentmail-to/langchain-agentmail](https://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 `Document`s (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`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 19:12:37 -04:00
yindo closed this issue 2026-06-05 19:12:37 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#4060