MCP / Messaging
Gmail MCP
Gmail is Google's email service, featuring spam protection, search functions, and seamless integration with other G Suite apps for productivity. Connect it to Claude, Codex, Cursor or any MCP client through one FlyMy.AI MCP.
Find up to 10 unread Gmail messages from the past week and show their senders and subjects.
Paste it into an assistant connected to FlyMy.AI. The agent picks the actions.
What Gmail MCP can do
23 actions in the FlyMy.AI catalog, the most used first. Your agent finds them through search_tools and calls the one the task needs.
| Action | What it does |
|---|---|
GMAIL_CREATE_EMAIL_DRAFT | Creates a gmail email draft, supporting to/cc/bcc, subject, plain/html body (ensure `is html=true` for html), attachments, and threading. |
GMAIL_GET_PROFILE | Retrieves key gmail profile information (email address, message/thread totals, history id) for a user. |
GMAIL_SEND_DRAFT | Sends the specified, existing draft to the recipients in the to, cc, and bcc headers. |
GMAIL_ADD_LABEL_TO_EMAIL | Adds and/or removes specified gmail labels for a message; ensure `message id` and all `label ids` are valid (use 'listlabels' for custom label ids). |
GMAIL_CREATE_LABEL | Creates a new label with a unique name in the specified user's gmail account. |
GMAIL_DELETE_DRAFT | Permanently deletes a specific gmail draft using its id; ensure the draft exists and the user has necessary permissions for the given `user id`. |
GMAIL_DELETE_MESSAGE | Permanently deletes a specific email message by its id from a gmail mailbox; for `user id`, use 'me' for the authenticated user or an email address to which the authenticated user has delegated... |
GMAIL_FETCH_EMAILS | Fetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval. |
GMAIL_FETCH_MESSAGE_BY_MESSAGE_ID | Fetches a specific email message by its id, provided the `message id` exists and is accessible to the authenticated `user id`. |
GMAIL_FETCH_MESSAGE_BY_THREAD_ID | Retrieves messages from a gmail thread using its `thread id`, where the thread must be accessible by the specified `user id`. |
GMAIL_GET_ATTACHMENT | Retrieves a specific attachment by id from a message in a user's gmail mailbox, requiring valid message and attachment ids. |
GMAIL_GET_CONTACTS | Fetches contacts (connections) for the authenticated google account, allowing selection of specific data fields and pagination. |
Show all 23 actions
| Action | What it does |
|---|---|
GMAIL_GET_PEOPLE | Retrieves either a specific person's details (using `resource name`) or lists 'other contacts' (if `other contacts` is true), with `person fields` specifying the data to return. |
GMAIL_LIST_DRAFTS | Retrieves a paginated list of email drafts from a user's gmail account. |
GMAIL_LIST_LABELS | Retrieves a list of all system and user-created labels for the specified gmail account. |
GMAIL_LIST_THREADS | Retrieves a list of email threads from a gmail account, identified by `user id` (email address or 'me'), supporting filtering and pagination. |
GMAIL_MODIFY_THREAD_LABELS | Adds or removes specified existing label ids from a gmail thread, affecting all its messages; ensure the thread id is valid. |
GMAIL_MOVE_TO_TRASH | Moves an existing, non-deleted email message to the trash for the specified user. |
GMAIL_PATCH_LABEL | Patches the specified label. |
GMAIL_REMOVE_LABEL | Permanently deletes a specific, existing user-created gmail label by its id for a user; cannot delete system labels. |
GMAIL_REPLY_TO_THREAD | Sends a reply within a specific gmail thread using the original thread's subject, requiring a valid `thread id` and correctly formatted email addresses. |
GMAIL_SEARCH_PEOPLE | Searches contacts by matching the query against names, nicknames, emails, phone numbers, and organizations, optionally including 'other contacts'. |
GMAIL_SEND_EMAIL | Sends an email via gmail api using the authenticated user's google profile display name, requiring `is html=true` if the body contains html and valid `s3key`, `mimetype`, `name` for any attachment. |
Ask your agent
Requests to paste as they are. Each one runs on the actions named under it.
GMAIL_FETCH_EMAILSGMAIL_LIST_LABELSGMAIL_FETCH_MESSAGE_BY_THREAD_IDConnect Gmail in a minute
One MCP for every integration. Add it once, then every MCP in the catalog is a request away.
- 01
Add FlyMy.AI
Add the FlyMy.AI MCP to your assistant with one of the commands below and sign in. No key to copy.
- 02
Sign in to Gmail
Open the Gmail connection settings and sign in once. Your agent then works as your account; the token stays with FlyMy.AI, never in a prompt or a chat.
- 03
Ask
Paste a request from this page. Every run shows what it cost.
claude mcp add --transport http flymyai https://mcp-agents.flymy.ai/mcp
Then run /mcp in Claude Code and sign in.
codex mcp add flymy --url https://mcp-agents.flymy.ai/mcp
Then run codex mcp login flymy to sign in.
https://mcp-agents.flymy.ai/mcp
Settings, Connectors, Add custom connector: paste this URL.
Pay per run
FlyMy.AI bills the run: the model and the tool's seconds. Calls go to your own Gmail account, under its plan and limits. No seats and no minimum.
Go to the source
From the FlyMy.AI platform catalog of 2026-10-31: name, description, actions and setup as the platform lists them. Examples are requests to paste, not recorded runs.