Agent mail
Overview
SLUG: AGENT_MAIL
Description
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.
Authentication Details
API Key
Connecting to Agent mail
Create an auth config
Use the dashboard to create an auth config for the Agent mail toolkit. This allows you to connect multiple Agent mail accounts to Composio for agents to use.
Select App
Navigate to [Agent mail](https://platform.composio.dev?next_page=/marketplace/Agent mail).
Create and Get auth config ID
Click “Create Agent mail Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the [Agent mail toolkit’s playground](https://app.composio.dev/app/Agent mail)
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
AGENT_MAIL_GET_MESSAGE
Tool Name: Get Message
Description
Action Parameters
Action Response
AGENT_MAIL_LIST_MESSAGES
Tool Name: List Messages
Description
Action Parameters
Action Response
AGENT_MAIL_SEND_EMAIL
Tool Name: Send Email
Description
Action Parameters
Action Response