Give your agent an email inbox
Commune gives AI agents real email addresses. Your agent can send emails, receive replies, extract structured data from inbound messages, and track deliverability. Everything runs through a single API, SDKs for TypeScript and Python, or an MCP server for Claude/Cursor/Windsurf.Quickstart
Get your agent connected in minutes.TypeScript
npm install commune-aiPython
pip install commune-mailMCP Server
Claude Desktop, Cursor, Windsurf
REST API
Any language via HTTP
Source available
The entire platform is on GitHub: backend API, SDKs, MCP server, and dashboard. Licensed under BSL 1.1 (converts to Apache 2.0 after 4 years). See the contributing guide for details.Ultra-quick start
Send your first email in under 30 seconds.What happens to every email
Commune sits between your agent and the outside world. Every email passes through security, validation, and enrichment before it reaches the other side.Outbound
Inbound
Core concepts
Inboxes
Each agent gets one or more inboxes. An inbox is an email address like
support@yourdomain.com that can send and receive email.Threads
Related emails are automatically grouped into threads. Your agent can list threads, read messages, set status, add tags, and assign threads.
Domains
Use Commune’s shared domain to get started instantly, or add a custom domain with full DKIM/SPF/DMARC authentication.
Webhooks
Get notified instantly when emails arrive. Webhooks deliver the full parsed email, extracted data, and security context to your server.
SDKs
Every feature works through all four. The docs show examples for each.
Next steps
Get API Key
Create your API key and start sending emails immediately.
Quickstart
Build a complete email agent in 5 minutes — send, receive, extract data, and handle attachments.
Authentication
Understand API authentication and security best practices.
SDKs
Install and configure the SDK for your language.
Security
Learn how Commune handles DKIM, encryption, spam prevention, and more.

