Open-source (MIT) email inboxes for AI agents with scoped keys, webhooks & AI spam guard.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Bearer API key from https://theagentmail.net/app (format: Bearer am_...)
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Register an HTTPS webhook URL for real-time email.received events.
HTTPS webhook endpoint URL.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http agentmail https://api.theagentmail.net/mcp \ --header 'Authorization: Bearer YOUR_TOKEN'
Headers
Authorization (required): Bearer API key from https://theagentmail.net/app (format: Bearer am_...)Register an HTTPS webhook URL for real-time email.received events.
| Argument | Type | Description |
|---|---|---|
| url* | string | HTTPS webhook endpoint URL. |
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "HTTPS webhook endpoint URL."
}
}
}Delete a webhook subscription by ID.
| Argument | Type | Description |
|---|---|---|
| webhookId* | string |
{
"type": "object",
"required": [
"webhookId"
],
"properties": {
"webhookId": {
"type": "string"
}
}
}Get a 1-hour signed download URL for a message attachment.
| Argument | Type | Description |
|---|---|---|
| messageId* | string | |
| attachmentId* | string |
{
"type": "object",
"required": [
"messageId",
"attachmentId"
],
"properties": {
"messageId": {
"type": "string"
},
"attachmentId": {
"type": "string"
}
}
}Get mailbox address, status, expiration, and send count.
No arguments.
{
"type": "object",
"required": [],
"properties": {}
}Read a single email message including full text/HTML body and attachment metadata.
| Argument | Type | Description |
|---|---|---|
| messageId* | string | Message ID from list_messages. |
{
"type": "object",
"required": [
"messageId"
],
"properties": {
"messageId": {
"type": "string",
"description": "Message ID from list_messages."
}
}
}List recent inbound and outbound messages for the mailbox, newest first.
No arguments.
{
"type": "object",
"required": [],
"properties": {}
}List inbound email webhook subscriptions for the mailbox.
No arguments.
{
"type": "object",
"required": [],
"properties": {}
}Send an email from the agent mailbox (outbound mail is scanned in real time for spam/phishing).
| Argument | Type | Description |
|---|---|---|
| cc | array | |
| to* | array | Recipient email addresses. |
| bcc | array | |
| html | string | Optional HTML body. |
| text* | string | Plain text body. |
| subject* | string | Email subject line. |
| inReplyTo | string | Optional Message-ID header for threading replies. |
| references | string | Optional References header for threading replies. |
{
"type": "object",
"required": [
"to",
"subject",
"text"
],
"properties": {
"cc": {
"type": "array",
"items": {
"type": "string"
}
},
"to": {
"type": "array",
"items": {
"type": "string"
},
"description": "Recipient email addresses."
},
"bcc": {
"type": "array",
"items": {
"type": "string"
}
},
"html": {
"type": "string",
"description": "Optional HTML body."
},
"text": {
"type": "string",
"description": "Plain text body."
},
"subject": {
"type": "string",
"description": "Email subject line."
},
"inReplyTo": {
"type": "string",
"description": "Optional Message-ID header for threading replies."
},
"references": {
"type": "string",
"description": "Optional References header for threading replies."
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 26, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.