Skip to main content

langchain-agenticemail

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.

Install

pip install langchain-agenticemail

Setup

Get an API key at https://app.agenticemail.dev and export it:

export AGENTICEMAIL_API_KEY="am_..."

Usage

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"}
    ]
})

Tools

create_inbox, list_inboxes, send_email, list_messages, get_message, reply_to_message, search_messages.

JavaScript and other frameworks

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.

License

MIT

Metadata

Release files for langchain-agenticemail 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-agenticemail 0.1.0
File Size Uploaded Provenance Actions
langchain_agenticemail-0.1.0.tar.gz 3.8 kB Without provenance Details for langchain_agenticemail-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for langchain-agenticemail 0.1.0
File Interpreter ABI Platform Actions
langchain_agenticemail-0.1.0-py3-none-any.whl Python 3 none any Details for langchain_agenticemail-0.1.0-py3-none-any.whl

Total release size: 7.4 kB

Release files / langchain_agenticemail-0.1.0.tar.gz

Download URL langchain_agenticemail-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b900bee3735ee60bcb93cf76b6b76737c704667e4b550a8c76621bcb6b8ad738
BLAKE2b-256 checksum
How to use checksums
5de0fd726e8a0358265256d93029835bafd8db359fdaf6fa4b61b8496f839eb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / langchain_agenticemail-0.1.0-py3-none-any.whl

Download URL langchain_agenticemail-0.1.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f293eed09ae374851360d23596ada21830c4ac49dd2d53858d018da4206d4409
BLAKE2b-256 checksum
How to use checksums
0abd1f79c2d05fbad8a59786da1a9878bc3c1b6dfdba34c6578153326dd54d6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for langchain-agenticemail 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page