how to guide
Email API for AI Agents: What Your Agent Actually Needs
I built AutoSend so an AI agent can run our whole email stack. Here is what separates an agent-ready email API from a normal one, with real examples.
Yogini Bende • 22 Jun, 2026
Yogini Bende • 16 Jun, 2026 • how to guide
A founder I know built a SaaS product that now makes almost $1k a month. He has never written a line of code. He built the whole product by chatting with Claude, and he sends every email campaign the same way.
He does not open the AutoSend dashboard to write emails. He opens a Claude chat, describes what he wants to say, asks Claude to send it, and confirms. The dashboard exists on his computer mostly for billing.
That is what this article walks through. If you have an AutoSend account and Claud subscription, you can send a real email campaign in about five minutes without touching the dashboard or writing any HTML.
Claude cannot send emails on its own. What it can do is connect to external tools through a protocol called MCP (Model Context Protocol). When you add the AutoSend Email MCP server to Claude, it gets access to 34 tools: creating templates, building campaigns, targeting contact lists, pulling analytics, managing senders, and sending.
You talk to Claude in plain language. Claude decides which tools to call and in what order. You confirm before anything goes out.
The AutoSend Email MCP server is remote and uses OAuth. That means there is no config file to edit and no API key to paste anywhere. You add a URL, you log in to AutoSend when prompted, and it works.
You need Claude subscription and an AutoSend account with at least one verified domain and verified sender.
Step 1. Open Claude. Go to Settings, then the Developer tab, and click "Edit Config."
Step 2. Add this to your config file:
{
"mcpServers": {
"autosend": {
"type": "http",
"url": "https://mcp.autosend.com/"
}
}
}
Step 3. Save the file.
Step 4. Claude will prompt you to log in to AutoSend. That is the entire auth flow. OAuth handles the credentials. You do not manage any tokens.
Once connected, you will see the AutoSend tools available in Claude. There are 34 of them across campaigns, templates, contacts, senders, automations, and analytics.
More details on setting up AutoSend Email MCP with Claude
Here is what the conversation looks like in practice. You do not need to think about which tools Claude uses. Just describe what you want.
You: I want to send a campaign to my "active users" list announcing our new feature. It's a calendar integration. Keep it short and conversational, no heavy design needed.
Claude will:
Then it will ask for confirmation before sending. You type yes, and it goes.
The full flow from "I want to send a campaign" to "confirmed and sent" takes about 90 seconds, assuming you already have a list and sender set up.
What actually happens behind the scenes: Claude calls
get_lists_and_segmentsto find your list,list_sendersto pick the right sender,create_campaignto build the draft with HTML content, and finallysend_campaignwithconfirmed: falsefirst (so you see a preview) and thenconfirmed: truewhen you approve.
Because AutoSend MCP exposes the full account, not just a send button, you can handle a surprising amount without touching the dashboard:
Campaign work
Automations
Template management
List and contact work
Analytics
The one thing you still need the dashboard for is the initial setup: adding a domain, verifying a sender, and managing billing. After that, most of the day-to-day can stay in Claude.
The person I mentioned at the start does not think of himself as doing email marketing. He thinks of himself as talking to Claude about his product and occasionally asking it to tell his users something.
His flow looks like this. Every time he ships something, he opens a Claude chat and says something like: "We just added [X]. My users are indie hackers building small tools. Write them a short email, keep it conversational, send it to the 'all subscribers' list."
He reviews what Claude drafts. Sometimes he asks for a different subject line or a shorter email. When he is happy with it, he says send, confirms, and moves on.
That is it. No template builder. No subject line A/B test setup. No scheduling UI. He does his real work in Claude already. Email became part of that same conversation.
MCP is the right tool when you want to operate in natural language and you do not need to trigger emails programmatically from your codebase.
If your app needs to send a password reset email the moment a user requests one, that has to come from your backend via the AutoSend API or SDK. Your server cannot have a Claude conversation mid-request.
If a non-technical person on your team wants to send a monthly newsletter, check campaign stats, or draft a re-engagement sequence without touching code or learning a dashboard, Email MCP is faster.
Both can coexist. At Peerlist, our transactional emails like verification and password reset run through the API. Our team now uses MCP for campaign work.
Claude is the simplest entry point, but AutoSend MCP works with several other AI clients: Cursor, Windsurf, GitHub Copilot in VS Code, ChatGPT, Codex, Raycast, and Antigravity. The setup on each is slightly different. The full instructions for each client are in our MCP docs.
If you are building an agent in code and want it to send emails, that is a different path. Our guide on sending emails from AI agents covers the REST API, MCP, and skill approaches with working examples, and what an email API for AI agents actually needs goes deeper on what makes a stack safe for an agent to run on its own.
Related Articles
Still wondering?
See what your favorite LLM has to say about us,
then make an informed decision.