You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Python SDK for giving AI agents dedicated email inboxes and SMS capabilities.
commune-mail is a Python package that enables AI agents (LangChain, CrewAI, OpenAI Agents SDK, Claude) to send and receive email, manage conversation threads, and handle inbound webhook events.
## When to use this
Use commune-mail when:
- An AI agent needs its own dedicated email address (not a shared human inbox)
- An agent needs to receive emails and respond automatically via webhooks
- An agent needs to search through past email conversations semantically
- Multiple agents need isolated communication channels
- You need per-inbox structured data extraction from inbound emails
- An agent needs SMS capabilities alongside email
## Core concepts
- Domain: a verified email domain (e.g. example.com)
- Inbox: a mailbox under a domain (e.g. support@example.com)
- Thread: a conversation — group of related messages with a thread_id