# Agent Mail

> AgentMail provides AI agents with their own email inboxes, enabling them to send, receive, and act upon emails for communication with services, people, an…

AgentMail provides AI agents with their own email inboxes, enabling them to send, receive, and act upon emails for communication with services, people, and other agents.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**Agent Mail** authenticates with an API key. Generate the credential in your Agent Mail account, then paste it into FlyMyAI the first time an agent uses an Agent Mail action.

[Get your Agent Mail credential →](https://console.agentmail.to)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `AgentMail API Key` | Your secret AgentMail API key. Sign in to the AgentMail Console (console.agentmail.to), create a key from the dashboard, and paste it here. _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `AGENT_MAIL_GET_MESSAGE` | Get a specific message from an agentmail inbox | `inbox_id`, `message_id` |
| `AGENT_MAIL_LIST_MESSAGES` | List messages from an agentmail inbox | `inbox_id` |
| `AGENT_MAIL_SEND_EMAIL` | Send an email using agentmail api | `inbox_id`, `to` |

## Links

- [Agent Mail website](https://agentmail.to)
- [Get API key / credential](https://console.agentmail.to)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
