---
title: "Email for AI agents: MCP, CLI and API from the EU"
description: "Let your AI agent set up domains, send and receive email and check deliverability through Lettermint's MCP server, CLI or API. EU infrastructure with built-in guardrails."
url: "https://lettermint.co/for/ai-agents"
---


# Lettermint for AI agents

Your AI agent can run your Lettermint account, from setup to reporting. It sets up projects and domains, checks DNS, sends and schedules email, receives replies and reports on delivery, through our MCP server, CLI or API. All on our own infrastructure in the EU, and always within the permissions you give it.

MCP server URL: `https://api.lettermint.co/mcp`

## Everything in your account, in one conversation

Ask your agent to add a sending domain and it creates the domain, shows the DNS records and checks them until they verify. It can create projects, routes, webhooks and API tokens, send or schedule an email, and find out why a message bounced.

Need numbers? Your agent reads delivery statistics and usage, and on the Pro plan it queries deliverability analytics with rates, breakdowns and period comparisons.

- Projects, routes, domains and webhooks
- DNS checks and domain verification
- Send, schedule and resend email
- Receive email through inbound routes
- Statistics, analytics and suppressions

## MCP, CLI or API: pick the way in

Assistants such as Claude, ChatGPT and Mistral Vibe connect to our MCP server and log in with OAuth, so no API token ends up in the chat. Coding agents in your terminal use the CLI, and its skills export teaches them the commands. See the [MCP server](https://lettermint.co/features/mcp.md) and the [CLI](https://lettermint.co/features/cli.md).

Building your own agent? Use the REST API or one of our official SDKs. Every send takes an idempotency key, so a retry never sends the same email twice, and there are no sending rate limits. See all [integrations](https://lettermint.co/integrations.md).

## Your agent sends and receives

Email your agent sends goes out from our own network and IP addresses, with separate IP pools for transactional email and newsletters, so it lands in the inbox and not in spam.

Your agent can also receive email. An inbound route posts every incoming message, attachments included and spam filtered, as JSON to your webhook, so your agent can read replies and act on them. See [inbound emails](https://lettermint.co/features/inbound-emails.md).

## Your agent works, you stay in control

Your agent works with the permissions of the person who connected it. Lettermint checks team membership, project access, role and MFA on every call, and deleting a project, route, domain or webhook, or rotating a webhook secret, always needs an explicit confirmation.

**Personal data stays out of the chat.** The personal data filter is on by default, so your assistant sees that an email went out and whether it arrived, not who it went to or what was in it. A team admin can switch off MCP for the whole team at once.

- **Your email data is processed and stored only in the EU** - On our own infrastructure, with no US cloud in between.
- **Personal data filter** - On by default for every team.
- **Explicit confirmation** - For deletions and secret rotation.
- **Your own permissions** - Role, project access and MFA checked.
- **MCP off per team** - One switch for a team admin.

## Zero message retention for agent mail

By default, Lettermint keeps an email for 28 days so you can look it up and resend it. On the Pro plan you set your own message retention period, all the way down to zero days. Lettermint then holds an email only while it delivers it, and deletes it as soon as it is delivered.

**Delivered means deleted.** Once an email your agent sent has arrived, it no longer sits with your email provider. Your agent keeps track through webhooks and your own systems, and the data at Lettermint stays to a minimum.

## Frequently asked questions

### Can an AI agent set up a sending domain by itself?

Yes. Your agent creates the domain, gives you the DNS records to add and checks them until the domain verifies. If it also has access to your DNS provider, it can add the records itself.

### Can an agent send email through Lettermint?

Yes. Your agent can send single and batch emails, and schedule, reschedule or cancel them. Because sending involves recipient data, it works once your team switches off the personal data filter. Want to try first? Send an email to ok@lettermint.dev, which simulates a successful delivery.

### Can my agent receive email?

Yes. Create an inbound route and Lettermint posts every incoming email as JSON to your webhook, with attachments and spam filtering. Inbound routes are available on the paid plans.

### Can my agent build and send a newsletter?

Yes. Your agent can write the template, send you a test, schedule the newsletter and report on opens and clicks afterwards. Sending needs the personal data filter switched off, like every send through MCP.

### What can an agent not do?

Signing up and billing stay with you, because the MCP server needs a verified Lettermint account. An agent also only gets the permissions of the person who connected it, so it cannot do anything that person is not allowed to do.

### Which AI assistants work with Lettermint?

Every assistant and editor that supports remote MCP servers with OAuth, such as Claude, Claude Code, ChatGPT, Codex, Mistral Vibe, Cursor and VS Code. Coding agents can also use the CLI. Read more about the [MCP server](https://lettermint.co/features/mcp.md).

### How do I stay in control of what my agent does?

Deletions and secret rotation always need an explicit confirmation, and Lettermint rejects the call without it. Your assistant can ask for your approval before every write action, and a team admin can switch off MCP for the whole team.

### Where does the MCP server run?

On our own infrastructure in the EU, like the rest of Lettermint. Whatever your assistant receives does go to the AI provider behind it, which is why the personal data filter is on by default.

### Is this included in my plan?

Yes. The MCP server and the CLI work on every plan, including the Free plan. Deliverability analytics through MCP needs the Pro plan. See [pricing](https://lettermint.co/pricing.md) for every tier.

## Ready to hand your email to an agent?

Start for free with 300 emails per month. Connect your assistant to the [MCP server](https://lettermint.co/features/mcp.md) in a minute, or install the [CLI](https://lettermint.co/features/cli.md). [Start for free](https://app.lettermint.co/register).
