LangChain tools for AgenticEmail, API-first email
infrastructure for AI agents. The AgenticEmailToolkit gives a LangChain agent
its own real email inbox: it can create inboxes and send, read, reply to, and
search email, with optional end-to-end encryption.
pip install langchain-agenticemailGet an API key at https://app.agenticemail.dev and export it:
export AGENTICEMAIL_API_KEY="am_..."from langchain.agents import create_agent
from langchain_agenticemail import AgenticEmailToolkit
toolkit = AgenticEmailToolkit.from_api_key()
tools = toolkit.get_tools()
agent = create_agent("anthropic:claude-sonnet-4-5", tools)
agent.invoke({
"messages": [
{"role": "user", "content": "Create an inbox and email a welcome note to user@example.com"}
]
})create_inbox, list_inboxes, send_email, list_messages, get_message,
reply_to_message, search_messages.
For TypeScript or non-LangChain agents, point the framework at the hosted MCP
server at https://api.agenticemail.dev/mcp with the API key as a Bearer token.
MCP is the framework-agnostic tool bridge, so it needs no per-framework wrapper.
- Product: https://agenticemail.dev
- Docs: https://agenticemail.dev/docs
- Python SDK: https://pypi.org/project/agenticemail/
MIT