# agent-mail

Connects MailKite email capabilities to your AI assistant. Sends messages from verified domains and routes inbound mail directly to agent workflows.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: mailkite
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/mailkite/mailkite-mcp
- Updated: 2026-09-10
- HTML: https://affpapa.org/en/nevibecode/mcp/agent-mail

## What it does

This integration exposes the MailKite API as callable tools. Your assistant can dispatch emails, inspect domain verification records, and browse technical references. The assistant manages message routing directly.

Two deployment options are supported. The hosted version connects over HTTP with browser-based OAuth authentication. If you run the package locally using `npx -y @mailkite/mcp`, an active `MAILKITE_API_KEY` environment variable is mandatory. Without a verified sending domain in your account, outbound message delivery will fail.

## Requirements
- Remote server: `https://mcp.mailkite.dev/mcp?ref=agent-mail`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http agent-mail 'https://mcp.mailkite.dev/mcp?ref=agent-mail'
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add agent-mail --url 'https://mcp.mailkite.dev/mcp?ref=agent-mail'
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "agent-mail": {
            "url": "https://mcp.mailkite.dev/mcp?ref=agent-mail"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "agent-mail": {
            "type": "http",
            "url": "https://mcp.mailkite.dev/mcp?ref=agent-mail"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http agent-mail 'https://mcp.mailkite.dev/mcp?ref=agent-mail'
```

## When to use it
- send outbound messages through authenticated domains
- assign a dedicated email inbox to an agent
- route inbound webhook emails to an automated inbox handler
- verify and inspect domain status via assistant prompts

## Example prompts
- Send an onboarding email to user@example.com from our verified domain
- Check the DNS verification status for domain example.org
- Set up incoming email routing to the inbox agent

## Similar
- [Agent Mail Gateway](https://affpapa.org/en/nevibecode/mcp/agent-mail-gateway.md) — MCP server · ★ 12
- [smbCloud Mail & Auth](https://affpapa.org/en/nevibecode/mcp/smbcloud-mail-auth.md) — MCP server · ★ 11
- [apple-mail](https://affpapa.org/en/nevibecode/skills/apple-mail.md) — skill · 1400 installs
- [Atomic Mail](https://affpapa.org/en/nevibecode/mcp/atomic-mail.md) — MCP server · ★ 265
- [Apple Mail MCP](https://affpapa.org/en/nevibecode/mcp/apple-mail-mcp.md) — MCP server · ★ 74
- [your-mail-mcp](https://affpapa.org/en/nevibecode/mcp/your-mail-mcp.md) — MCP server · ★ 18

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
