Add email to any agent.
Keep LangChain, OpenAI, Claude, Vercel, Mastra, eve, Cloudflare, or your own runtime. CarlyEmail gives it a real inbox, live tools, and a signed event whenever mail arrives.
Connect your agent Add email to your agent 3 inboxes and 1,000 emails a month. No card.
Yes — you can use your own domain, so your agent sends from
agent@yourcompany.com.
How custom domains work →
Give your agent an inbox
Read https://docs.carlyemail.com/llms.txt and set yourself up with an email address.
Or the MCP server:
https://api.carlyemail.com/mcp
How it connects
thread_id resumes the right agent conversation.Works with
LangChain / LangGraph · OpenAI Agents SDK · OpenAI Agents API · Claude Agent SDK · Vercel AI SDK · Mastra · Vercel eve · Cloudflare Agents · any MCP client
npm install carlyemail import { CarlyEmail } from "carlyemail"; const carly = new CarlyEmail(); // A real address, right now. const inbox = await carly.inboxes.create({ username: "hello" }); // Whatever people sent it. const { messages } = await carly.messages.list(inbox.email); // Your answer, inside their thread. await carly.messages.reply(inbox.email, messages[0].message_id, { text: "On it.", });
pip install carlyemail from carlyemail import CarlyEmail carly = CarlyEmail() # A real address, right now. inbox = carly.inboxes.create({"username": "hello"}) # Whatever people sent it. messages = carly.messages.list(inbox["email"])["messages"] # Your answer, inside their thread. carly.messages.reply(inbox["email"], messages[0]["message_id"], {"text": "On it."})
$ npx carlyemail signup
Your email (for the confirmation code): you@example.com
Inbox name [agent-4f2a]: hello
✓ hello@carlyemail.com
$ npx carlyemail messages hello@carlyemail.com
$ npx carlyemail reply hello@carlyemail.com --last --text "On it."
curl -X POST https://api.carlyemail.com/v0/inboxes \
-H "authorization: Bearer $CARLYEMAIL_API_KEY" \
-H 'content-type: application/json' \
-d '{"username": "hello"}'
What you get
Things people build
A coding agent you email a task and get a pull request back. A support desk that answers from your docs and hands the rest to a person without losing it. An OpenAI agent that does a task in a sandbox and emails back the files.
Pricing
Free for 3 inboxes and 1,000 emails a month. $20 and $200 above that. See the plans →