Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Patch Label
GMAIL_PATCH_LABELPatches the specified user-created label. System labels (e.g., INBOX, SENT, SPAM) cannot be modified and will be rejected.
Patch send-as alias
GMAIL_PATCH_SEND_ASPatches a Gmail send-as alias, including its display name, reply-to address, signature, default status, or SMTP configuration. This tool declares support for service-account OAuth, not standard OAuth.
Reply to email thread
GMAIL_REPLY_TO_THREADSends a reply to a Gmail thread using a Re: subject and quoting the latest delivered message. Draft messages are ignored because their Message-IDs have not reached recipients. Requires a thread ID and at least one recipient, and supports optional file attachments.
Search People
GMAIL_SEARCH_PEOPLESearches saved contacts and optionally Other Contacts by query, returning matching person records. When both sources are requested, results may be partial if one search fails.
Send Draft
GMAIL_SEND_DRAFTSends an existing Gmail draft immediately to the recipients already in its To, Cc, and Bcc headers. The draft's recipients and content cannot be changed by this action; confirm them before sending.
Send Email
GMAIL_SEND_EMAILSends an email immediately through Gmail to specified To, Cc, or Bcc recipients, with a subject or body and optional attachments. Supports plain text or HTML and may append the configured Gmail signature; attachments are limited to 20 MiB in total before encoding.
Get IMAP Settings
GMAIL_SETTINGS_GET_IMAPRetrieves the IMAP settings for a Gmail user account, including whether IMAP is enabled, auto-expunge behavior, expunge behavior, and maximum folder size.
Get POP settings
GMAIL_SETTINGS_GET_POPTool to retrieve POP settings for a Gmail account. Use when you need to check the current POP configuration including access window and message disposition.
Get send-as alias
GMAIL_SETTINGS_SEND_AS_GETTool to retrieve a specific send-as alias configuration for a Gmail user. Use when you need to get details about a send-as email address including display name, signature, SMTP settings, and verification status. Fails with HTTP 404 if the specified address is not a member of the send-as collection.
Stop watch notifications
GMAIL_STOP_WATCHTool to stop receiving push notifications for a Gmail mailbox. Use when you need to disable watch notifications previously set up via the watch endpoint.
Untrash Message
GMAIL_UNTRASH_MESSAGETool to remove a message from trash in Gmail. Use when you need to restore a previously trashed email message.
Untrash thread
GMAIL_UNTRASH_THREADTool to remove a thread from trash in Gmail. Use when you need to restore a deleted thread and its messages.
Update Google Contact
GMAIL_UPDATE_CONTACTReplace selected fields on an existing saved Google contact.
Update draft
GMAIL_UPDATE_DRAFTUpdates a Gmail draft by ID by replacing its message. The tool reads the existing draft to preserve omitted recipients, subject, body, sender, and attachments. Supplying `attachment` replaces the existing attachments.
Update IMAP settings
GMAIL_UPDATE_IMAP_SETTINGSTool to update IMAP settings for a Gmail account. Use when you need to modify IMAP configuration such as enabling/disabling IMAP, setting auto-expunge behavior, or configuring folder size limits.
Update Label
GMAIL_UPDATE_LABELUpdates an existing Gmail label's name, visibility settings, or color to help organize the mailbox. Color is available for user labels and requires both a background and text color from Gmail's supported palette.
Update Language Settings
GMAIL_UPDATE_LANGUAGE_SETTINGSTool to update the language settings for a Gmail user. Use when you need to change the display language preference for the authenticated user or a specific Gmail account. The returned displayLanguage may differ from the requested value if Gmail selects a close variant.
Update POP settings
GMAIL_UPDATE_POP_SETTINGSTool to update POP settings for a Gmail account. Use when you need to configure POP access window or message disposition behavior.
Update send-as alias
GMAIL_UPDATE_SEND_ASUpdates a Gmail send-as alias, including its display name, signature, reply-to address, or SMTP settings; Gmail sanitizes HTML signatures before saving. The tool declares support for service-account OAuth, not standard OAuth; non-primary addresses require domain-wide delegation.
Update Vacation Settings
GMAIL_UPDATE_VACATION_SETTINGSTool to update vacation responder settings for a Gmail user. Use when you need to configure out-of-office auto-replies.