Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PyPI version PyPI Downloads npm version npm Downloads Smithery Status License: MIT

Commune — Email & SMS Infrastructure for AI Agents

Give your AI agent a real inbox and phone number. Production-grade email and SMS for LangChain, CrewAI, OpenAI Agents SDK, Claude, and MCP.

pip install commune-mail    # Python
npm install commune-ai      # TypeScript / Node.js
uvx commune-mcp             # Claude Desktop / Cursor / Windsurf

Commune handles the infrastructure so your agent can send and receive email like a real person.

  • Each agent gets its own dedicated inbox (@yourdomain.com or @agents.commune.email)
  • Inbound emails fire webhooks instantly with HMAC signing and automatic retries
  • Replies stay threaded in Gmail, Outlook, and Apple Mail — no extra work
  • Search across your entire inbox history using natural language
  • Structured extraction lets you auto-parse email fields to JSON without an extra LLM call
  • Inbound content goes through prompt injection analysis before it touches your agent
  • Provision real phone numbers and handle two-way SMS alongside email
  • Self-hostable — the full backend is open source

Get started in 60 seconds

from commune import CommuneClient

client = CommuneClient(api_key="comm_...")
inbox = client.inboxes.create(local_part="support")
print(inbox.address)  # → support@agents.commune.email

client.messages.send(
    to="user@example.com",
    text="Your ticket is resolved.",
    inbox_id=inbox.id,
    thread_id=thread_id,  # from webhook payload
)
import { CommuneClient } from 'commune-ai';

const client = new CommuneClient({ apiKey: process.env.COMMUNE_API_KEY! });
const inbox = await client.inboxes.create({ localPart: 'support' });
console.log(inbox.address); // → support@agents.commune.email

Integration matrix

Framework Python TypeScript MCP Cookbook
LangChain
CrewAI
OpenAI Agents SDK
Claude (tool_use)
Cursor
Windsurf
n8n

Get your API key →


commune.email · Docs · Status

Pinned Loading

  1. commune-python commune-python Public

    Python SDK for email & SMS in AI agents. Give your agent an inbox in 4 lines. LangChain, CrewAI, OpenAI Agents SDK, Claude — powered by Commune.

    Python 3

  2. commune-cookbook commune-cookbook Public

    Code recipes for email & SMS in AI agents — LangChain, CrewAI, OpenAI Agents SDK, Claude, n8n. Inbox, threading, webhooks, phone numbers. commune.email

    Jupyter Notebook 2

  3. commune-mcp commune-mcp Public

    Email & SMS for Claude Desktop, Cursor, and Windsurf. 13 tools: create inboxes, send email, read threads, provision phone numbers, send SMS. Install in 30s.

    Python 1

  4. commune-js commune-js Public

    JavaScript/TypeScript SDK for email & SMS in AI agents. Send email, receive webhooks, manage threads — give your agent an inbox in 4 lines. Powered by Commune.

    TypeScript 1

  5. commune-skill commune-skill Public

    Commune — agent-native email API skill. Give your AI agent its own @commune.ai email address via REST API.

    Python 1

  6. commune-cli commune-cli Public

    CLI for Commune email & SMS API. Manage domains, inboxes, messages, threads, webhooks, and DMARC from the terminal.

    Python

Repositories

Loading
Type
Select type
Language
Select language
Sort
Select order
Showing 10 of 15 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…

Morty Proxy This is a proxified and sanitized view of the page, visit original site.