How to connect AgentMail with ChatGPT

Connect ChatGPT to AgentMail MCP. Create an agentmail inbox for support, search agentmail threads for invoice updates, and more using natural language, with authentication handled for you.

AgentMail MCP logoAgentMail MCP
Dcr Oauth

AgentMail MCP is a hosted email and calendar service for AI agents. It gives agents managed access to inboxes, threads, drafts, files, and events.

55 Tools

How to connect AgentMail MCP with ChatGPT

ChatGPT can take action across your apps and files, stay with a project for hours, and turn a goal into finished materials like sheets, slides, and docs, not just answers.

In this guide, I will explain the easiest and most secure way to connect your AgentMail account to ChatGPT via Composio Connect, so it can create inboxes, send emails, search threads, manage drafts, and schedule events through natural language commands without ever putting your account credentials at risk.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate AgentMail MCP with

Why use Composio over default connectors?

  • Apps with read and write access. Default connectors mostly can read your data. Composio's AgentMail integration lets ChatGPT take actions like creating drafts, sending updates, labeling records, and more.
  • 2,000+ SaaS toolkits out of the box. Composio gives you instant access to a vast catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
  • One MCP server for every app. Connect any of your applications on demand through a single endpoint, rather than juggling a separate server for each app.
  • Smart, context-aware tool loading. Unlike traditional MCP servers that dump every available tool into the LLM context window, Composio searches for and loads only the tools relevant to the task at hand.
  • Cross-app automation. Chain actions across multiple apps in a single run - fetch a thread, summarize it in Notion, and post highlights to Slack without leaving the conversation.

Prerequisites

Note: Composio connects through OAuth. You will be asked to sign in and approve specific permissions. Review the permission screen carefully if you are using a work account.

Step-by-step: Connect AgentMail to ChatGPT

1. Install the Composio plugin

Click the button. ChatGPT opens the Composio plugin page. Click Install plugin.

Install in ChatGPT

Composio plugin page in ChatGPT with the Install plugin button

You can also find it inside ChatGPT: go to Settings, open Plugins, search the marketplace for Composio, and click Install plugin.

2. Authenticate

After you install, ChatGPT asks you to authenticate with Composio. Log in and click Allow access to authorize ChatGPT to use your Composio account.

Composio login and Allow access screen for ChatGPT

3. Start using Composio

That is it. Composio tools are now available in ChatGPT. Type @Composio followed by your request, for example @Composio find unread AgentMail messages and summarize them, and it will run the actions you authorize. On first use it asks you to authorize AgentMail.

Option 2: Add Composio as an MCP server

If you cannot use the plugin marketplace, add Composio as a custom MCP server instead.

1. Open the MCP settings

In ChatGPT, go to Settings and open the Plugins section. Inside the Plugins page, click the MCP tab.

ChatGPT settings showing the Plugins page with the MCP tab selected

2. Add the server

Click Add server. In the Name field enter Composio, for Type select Streamable HTTP, and in the URL field paste the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
ChatGPT Add server dialog with the name Composio, type Streamable HTTP, and the Composio MCP URL

Then click Save. The Composio server now appears in your MCP plugins list.

ChatGPT Plugins page showing the Composio MCP server added to the list

3. Authenticate

Click Authenticate on the Composio entry, log in via Composio, and click Allow access. Composio tools are then available in ChatGPT the same way as with the plugin.

What you can do after connecting AgentMail

  • Create an AgentMail inbox for support
  • Search AgentMail threads for invoice updates
  • Draft an AgentMail reply to a customer

Security + privacy notes (important)

  • Use least-privilege access: Only grant permissions you actually need.
  • Review OAuth permissions before approving: Make sure requested scopes match what you expect Composio and ChatGPT to do.
  • Keep write actions human-reviewed: For actions like sending messages, creating labels, or editing drafts, keep manual confirmation enabled.
  • Be careful with sensitive data: Avoid using this setup with highly sensitive information unless allowed by your personal, company, or client policies.
TOOLS

Supported Tools

Every AgentMail MCP action and event your agent gets out of the box.

Agent attach human

Attach the human you work for to an unverified agent organization, and email them a 6-digit verification code for agent_verify.

Agent verify

Verify an unverified agent organization using the 6-digit code emailed to the human attached to it, lifting the unverified plan's caps (1 inbox, 10 sends/day) at no cost.

Authorize inbox

Finish an AgentID sign-in that a browser already started at an app: when the app's Sign in with AgentID page says it is waiting for your agent and shows an auth token, pass that token with the inbox to sign in as.

Connect app

Create an account at an app as an inbox, or sign an inbox that already holds one back in: mints a browser sign-in session and returns a single-use magic URL to open in the client that will hold the sign-in (usually the agent's own browser session), plus the ID of the pending sign-in key.

Create draft

Create a draft email.

Create event

Create a one-off or recurring event on an inbox's calendar, with this inbox as organizer.

Create inbox

Create an inbox and return it, including the email address that is its inboxId.

Create list entry

Add an email address or domain to one of an inbox's allow or block lists.

Delete draft

Permanently delete a draft; this cannot be undone.

Delete event

Delete a calendar event, or cancel dates of a recurring one; this cannot be undone.

Delete file

Permanently delete a file from an inbox's drive (Agent Drive); this cannot be undone.

Delete inbox

Permanently delete an inbox and all of its threads, messages, and drafts; this cannot be undone.

Delete list entry

Remove an email address or domain from one of an inbox's allow or block lists — for a send block, this is the remedy a blocked-recipient send error names.

Delete thread

Permanently delete a thread and all of its messages; this cannot be undone.

Forward message

Forward a message to new recipients; it is sent right away and cannot be recalled.

Get agenda

List what is on an inbox's calendar in a time window, ordered by start: one-off events and each date of recurring events, with cancelled dates left out.

Get app

Get one app by ID, or by the slug of an app in the catalog (such as "firecrawl").

Get attachment

Get an attachment from a thread.

Get calendar

Get an inbox's calendar: its default time zone (used for events created without one), how many events it holds, and its etag.

Get draft

Get a draft by ID, including its content, status, and scheduled send time.

Get event

Get one calendar event in full, with its description, attendees and their responses, and its etag: a one-off or recurring event by its UUID, or one date of a recurring event by its dated ID (_).

Get file

Get a file from an inbox's drive (Agent Drive), with a download link that works for up to an hour without an API key.

Get inbox

Get one inbox by its inboxId: its email address, display name, metadata, and when it was created and last updated.

Get labs

Check whether the organization is in AgentMail Labs, which offers features still in preview, such as Agent Armor, and whether Labs is offered in this deployment.

Get list entry

Get one entry from one of an inbox's allow or block lists, by the email address or domain it holds: whether it is an address or a domain, why it was added, whether AgentMail added it (readOnly), and when.

Get message

Get one message by ID with its full body.

Get started

Start here when the user is new to AgentMail, asks to set it up or try it, or has no inbox yet.

Get thread

Get a thread by ID, including its messages.

Join labs

Join AgentMail Labs for the whole organization, making its preview features, such as Agent Armor, available to every inbox; some, Agent Armor among them, are then turned on by an organization admin in the console.

List accounts

List your organization's accounts: the inboxes signed in at apps.

List apps

List the app marketplace: services where an agent can create an account using an inbox (for example a web scraping, search, or database API), most popular first.

List drafts

List drafts in an inbox, most recently updated first, paginated.

List files

List the files in an inbox's drive (Agent Drive) in path order, optionally only those under a path prefix such as reports/.

List inboxes

List the organization's inboxes, newest first, paginated.

List list entries

List the entries on one of an inbox's allow or block lists.

List messages

List messages in an inbox, newest first, paginated.

List organizations

List the organizations you belong to and show which one is currently selected for AgentMail operations: each with its ID, its name, and whether it is selected.

List threads

List email threads in an inbox, most recently received first, paginated.

Reply to message

Reply to a message in its thread; the reply is sent right away and cannot be recalled.

Respond to invitation

Accept, decline, or tentatively accept a calendar invitation this inbox received by email, and by default email the answer to the organizer right away, which cannot be recalled.

Search apps

Search the app marketplace by name prefix, for when the user names a service ("create an account at Firecrawl").

Search inboxes

Find inboxes by address or display name (word-prefix match, best match first) without paging the whole organization.

Search messages

Search messages in an inbox with a full-text query, ranked by relevance.

Search threads

Search threads in an inbox with a full-text query, ranked by relevance.

Select organization

Choose which organization your AgentMail operations target (for users who belong to multiple orgs).

Send draft

Send a draft right away; once sent it cannot be recalled.

Send feedback

Records feedback about this MCP server, including unexpected tool failures, unhelpful responses, or missing capabilities observed by the agent or reported by the user.

Send message

Send an email from an inbox right away; once sent it cannot be recalled.

Update calendar

Set an inbox's calendar default time zone, used for events created later without one; existing events keep their own.

Update draft

Update a draft email.

Update event

Change a calendar event: send only the fields to change.

Update inbox

Update an inbox's display name or metadata.

Update message

Add or remove labels on one message, for example remove unread to mark it read.

Update thread

Add or remove labels on every message in a thread: add trash to move it to trash, or remove unread to mark it read.

Upload file

Store a file at a path in an inbox's drive (Agent Drive) and get it back ready, with a download link when the credential may read files.

FRAMEWORKS

How to build AgentMail MCP Agent with another framework

FAQ

Frequently asked questions

Start with AgentMail MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every AgentMail MCP tool your agent needs.Free to start.

Start building