Gmail MCP integration
Searches the mailbox for the right thread, drafts and sends replies in place, batches label changes, and sets the filters that route new mail.
61actions available
Three actions you can hand over today
Every action runs live through MCP. Nothing to build, nothing to maintain.
Reply to email thread
Lyro replies within an existing Gmail thread, keeping the same subject so the conversation stays intact. The customer sees the response in context instead of a new, disconnected email.
Create email draft
Lyro creates a draft email in Gmail so a teammate can review it before sending. Nothing goes out to a customer without a human getting the chance to check it first.
Fetch message by message ID
Lyro fetches a specific email by its message ID to pull the exact content needed. Agents get the original message instantly without searching through an inbox.
How businesses use Gmail + Lyro
Each card is one request a support team gets, and the Gmail actions Lyro runs to close it.
Find the thread the customer is referring to
Lyro searches the mailbox, pulls the whole thread rather than the one message that surfaced, and reads the attachment that carries the actual detail.
Fetch EmailsFetch Message by Thread IDGet Gmail AttachmentReply in the thread it belongs to
Lyro answers inside the existing conversation instead of starting a new one, or leaves it as a draft when a person should read it before it goes out.
Reply to Email ThreadCreate Email DraftSend EmailClear the backlog a label at a time
Lyro relabels or trashes a whole batch of messages in one pass, so a season's worth of resolved threads stops sitting between an agent and the live ones.
Batch Modify Gmail MessagesModify Thread LabelsTrash ThreadRoute what arrives before anyone opens the inbox
Lyro creates the label a new topic needs, writes the filter that sends matching mail straight to it, and forwards the ones that belong to another team.
Create LabelCreate Gmail FilterForward Email Message
How it works
Get started in 3 steps
Connect once, then just ask. There is no workflow builder to learn and nothing to maintain — Lyro reads the Gmail actions it has and picks the ones a request needs.
- 01
Connect Gmail
Authorize the Gmail account your team already uses — one consent screen, no API keys, no mapping tables. Lyro can only do what you granted that account, and you can disconnect it at any time.
- 02
Tell your agent what you need
Describe the job the way you would hand it to a teammate. Lyro maps it to the Gmail actions that close it and chains as many as the request needs.
- 03
Watch it work
The agent runs the actions inside the conversation the customer is already in, so nobody copies data between tabs and your team can take over at any point.
Get started free
Everything else about Gmail
Setup, permissions, and the limits of what Lyro can do inside Gmail.
Where that alias is already configured in Gmail. List Send-As Aliases shows which addresses the connected mailbox may send as, and Get Send-As Alias confirms one before Send Email uses it - an address that has not been verified in Gmail is not available to Lyro either.
Every action available in Gmail
All 61 actions your agent can call on Gmail, straight from the live MCP connection.
Modify email labels
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).
Batch delete gmail messages
Permanently delete multiple Gmail messages in bulk, bypassing Trash with no recovery possible.
Batch modify gmail messages
Modify labels on multiple Gmail messages in one efficient API call.
Create email draft
Creates a Gmail email draft.
Create gmail filter
Create a new Gmail filter with specified criteria and actions.
Create label
Creates a new label with a unique name in the specified user's Gmail account.
Create prompt post
Send a one-shot prompt to the Sanity Content Agent.
Delete draft
Permanently deletes a specific Gmail draft using its ID with no recovery possible; verify the correct draft_id and obtain explicit user confirmation before calling.
Delete gmail filter
Permanently delete a Gmail filter by its ID.
Delete label from account (permanent)
Permanently DELETES a user-created Gmail label from the account (not from a message).
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 access.
Delete thread
Immediately and permanently delete a specified thread and all its messages.
Fetch emails
Fetches a list of email messages from a Gmail account, supporting filtering, pagination, and optional full content retrieval.
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.
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.
Forward email message
Forward an existing Gmail message to specified recipients, preserving original body and attachments.
Get gmail attachment
Retrieves a specific attachment by ID from a message in a user's Gmail mailbox, requiring valid message and attachment IDs.
Get auto-forwarding settings
Get the auto-forwarding setting for the specified account.
Get contacts
Fetches contacts (connections) for the authenticated Google account, allowing selection of specific data fields and pagination.
Get draft
Retrieves a single Gmail draft by its ID.
Get gmail filter
Retrieve a specific Gmail filter by its ID.
Get label details
Gets details for a specified Gmail label.
Get language settings
Retrieve the language settings for a Gmail user.
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.
Get profile
Retrieves Gmail profile information (email address, aggregate messagesTotal/threadsTotal, historyId) for a user.
Get vacation settings
Retrieve vacation responder settings for a Gmail user.
Import message
Import a message into the user's mailbox with standard email delivery scanning and classification.
Insert message into mailbox
Insert a message into the user's mailbox similar to IMAP APPEND.
List cse identities
List client-side encrypted identities for an authenticated user.
List cse key pairs
List client-side encryption key pairs for an authenticated user.
The tools Gmail sits next to
Same connection, same setup. Pick the next one your team already uses.
Outlook
Searches a mailbox for the earlier thread, replies or drafts for review, books meetings against real availability, and files messages.
Mailchimp
Checks subscription status and send history, tags and segments people from a conversation, and handles unsubscribes without an agent.
Microsoft Teams
Searches past Teams messages and files, posts escalations into the right channel, and sets up the online meeting a conversation calls for.
Slack
Searches message history for a prior answer, hands conversations to the right channel with the transcript, and times messages for working hours.
Slackbot
Sends and schedules automated posts, sets reminders, writes canvases and files, and searches history so a scripted reply matches a real answer.
Telegram
Sends messages, files and polls into Telegram chats, reads incoming updates, and keeps bot-authored messages correct after the fact.

Ready to connect Gmail?
Authorize the account and your agent has all 61 actions from the first conversation.


