Operator
← All integrations
Agent mail logo

Connect Agent mail to OpenClaw on Operator.io

Agent mail provides AI agents with dedicated email inboxes for sending, receiving, and managing emails. It empowers agents to communicate autonomously with people, services, and other agents—no human intervention needed.

Automate Agent mail with AI

Your OpenClaw agent lives on Operator and treats Agent mail as one more service it can drive. Send it an outcome in a Telegram or Discord message and it works out which of the 5 Agent mail actions to run, then runs them.

Your agent reaches Agent mail directly or through connectors like Composio MCP and Pipedream MCP, which handle the sign in and token refresh for you, so there is nothing to wire up and no API keys to paste.

What your agent can do with Agent mail

Your agent can call any of these Agent mail actions by name as part of a larger task. Ask for the outcome you want and it picks the right ones.

Create Inbox

Create a new AgentMail inbox via API. Returns the inbox_id and email address for sending/receiving messages. Use when provisioning new inboxes for agents or workflows.

Get Message

Retrieve the complete details of a specific email message from an AgentMail inbox. This action returns the full message content including sender, recipients, subject, body (both text and HTML), attachments, labels, and metadata. Use this...

List Inboxes

List all inboxes available to the authenticated AgentMail account. Use this to discover valid inbox_id values for message operations.

List Messages

List messages from an AgentMail inbox. Returns a `messages` array; each message uses `message_id` and `timestamp` fields (not `id`, `date`, or `items`).

Send Email

Send an email using AgentMail API

How to connect Agent mail

You authorize Agent mail once from your dashboard. Operator holds the connection and refreshes the access tokens on its own, so your agent keeps working with Agent mail without you signing in again. The same setup unlocks every other app your agent can reach, so you only do it once.

When you are ready, the get started guide walks through standing up your OpenClaw agent.

Common questions about Agent mail

How do I connect Agent mail to Operator?
You authorize Agent mail once from your Operator dashboard. Operator holds the connection and refreshes the access token for you, so your agent keeps working with Agent mail without you signing in again.
Can my agent read and post in Agent mail for me?
Yes. It can post messages, reply in threads, search history, and pull out what matters from a busy conversation. Point it at a channel and it summarizes the thread back to you, or posts an update when something changes in another app you have connected.
Do I need to write code or manage Agent mail API keys?
No code and no API keys. You authorize Agent mail through a normal sign in and Operator handles the connection, so there is nothing to wire up or host.
Can my agent use Agent mail together with my other apps?
Yes. The same agent reaches every app you connect, so it can move between Agent mail and tools like Gmail, Slack, Discord in one job, reading from one and acting in another without you wiring anything between them.

More apps to automate

Apps your agent runs alongside Agent mail, or browse all integrations.

Put your agent on Agent mail

Sign in, connect Agent mail, and hand your agent the work. Your first week is free.

Try for free