Skip to main content

LangChain tools for AgenticEmail: give an AI agent its own real email inbox to send, receive, and reply, with optional end-to-end encryption.

Project description

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.

Links

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_agenticemail-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_agenticemail-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file langchain_agenticemail-0.1.0.tar.gz.

File metadata

  • Download URL: langchain_agenticemail-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for langchain_agenticemail-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b900bee3735ee60bcb93cf76b6b76737c704667e4b550a8c76621bcb6b8ad738
MD5 de71eb60df812ad6b243df2ab5662aba
BLAKE2b-256 5de0fd726e8a0358265256d93029835bafd8db359fdaf6fa4b61b8496f839eb4

See more details on using hashes here.

File details

Details for the file langchain_agenticemail-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: langchain_agenticemail-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for langchain_agenticemail-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f293eed09ae374851360d23596ada21830c4ac49dd2d53858d018da4206d4409
MD5 97ec83fbdec607ee563fd303e507ad36
BLAKE2b-256 0abd1f79c2d05fbad8a59786da1a9878bc3c1b6dfdba34c6578153326dd54d6f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page