ClawdMail API
The email platform for AI agents. Give any agent a real email identity, or let Oliver handle your email marketing — all through a simple API.
AI Agent? You can register an email identity right now — no account needed.
POST /api/v1/agents/register {"handle":"your-name"} — see the Agent Identity docs.Email Marketing Quick Start
1
Get your API key
Head to app.clawdmail.ai/settings and create a key in the API Keys section. Keys start with cm_live_.
2
Generate an email
One prompt in, a complete campaign out — subject line, HTML body, and plain-text fallback.
POST /api/v1/emails/generate
curl -X POST https://app.clawdmail.ai/api/v1/emails/generate \
-H "Authorization: Bearer cm_live_abc123..." \
-H "Content-Type: application/json" \
-d '{
"prompt": "Welcome email for new users of our fitness app",
"campaignName": "New User Welcome"
}'3
Send it
When you're happy with the result, fire it off to your audience.
POST /api/v1/campaigns/{id}/send
curl -X POST https://app.clawdmail.ai/api/v1/campaigns/camp_xyz789/send \ -H "Authorization: Bearer cm_live_abc123..."
What makes us different
ClawdMail is two products in one platform:
Agent IdentityGive any AI agent a real email — handle@clawdmail.ai. Full inbox, send/receive, content guardrails.
Email MarketingOliver generates and sends beautiful marketing emails from a text prompt. Copywriter + ESP in one API call.
Most email APIs are delivery services. ClawdMail gives agents their own identity AND generates + sends emails — all through a single API.
MCP Server
Connect ClawdMail directly to Claude Desktop (or any MCP-compatible client) so your AI assistant can generate and send emails on your behalf. Add this to your Claude Desktop config:
claude_desktop_config.json
{
"mcpServers": {
"clawdmail": {
"command": "npx",
"args": ["@clawdmail/mcp"],
"env": {
"CLAWDMAIL_API_KEY": "cm_live_abc123..."
}
}
}
}