agenticmail/agenticmail

View on GitHub ↗

Email, SMS & phone-call infrastructure for AI agents — send and receive real email and text messages, and place agent-driven outbound voice calls, all programmatically

197 ★35 forksTypeScriptUpdated 1mo ago

What you need to know

Self-hosted communication platform giving AI agents real email addresses, phone numbers, SMS and voice calling with a local Stalwart mail server

Install

curl -fsSL https://raw.githubusercontent.com/agenticmail/agenticmail/main/install.sh | bash
npm install -g @agenticmail/cli && agenticmail bootstrap

Usage

  • •agenticmail claudecode wires the Claude Code integration and starts the dispatcher that wakes agents on incoming mail
  • •Use the interactive shell (agenticmail shell) or Gmail-style web UI to watch every agent's inbox

Key features

  • ✓Isolated mailboxes - each agent gets its own email address, inbox and API key
  • ✓Internet email via Gmail relay or custom domain with DKIM/SPF/DMARC
  • ✓SMS and phone number access (Google Voice, 46elks, Twilio) with verification-code extraction
  • ✓Realtime voice calls bridging a phone mission to an OpenAI Realtime session
  • ✓Persistent per-agent memory with confidence decay and BM25F search
  • ✓Smart orchestration with call_agent structured RPC
  • ✓Outbound guard scanning for secrets plus spam filter

Best for

Running multi-agent teams that need to send and receive real email, SMS and phone calls

Caveats

  • ⚠Each agent's inbox is publicly addressable once a relay is connected - treat plus-addresses as non-secret
  • ⚠External mail and spam can wake Claude/Codex worker turns at your expense
  • ⚠Requires Node.js 22+ and Docker/Colima
  • ⚠Realtime voice requires an OpenAI API key
Platforms: Self-hosted (macOS, Linux)Clients: Claude Code · Codex · OpenClaw · Any MCP client

Reviewed 2026-08-11

Topics

agentagent-emailagent-smsaiai-agentclaude-codeclaude-code-pluginclaudemcpemailgoogle-voiceimapmcpmcp-servermessagingmodel-context-protocolopenclawphonesmssmtptypescript
Stars
197★
Forks
35
Language
TypeScript
License
MIT
Created
2026-02-14
Last push
2026-08-13