Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Modify email labels
GMAIL_ADD_LABEL_TO_EMAILAdds 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 modify Gmail messages
GMAIL_BATCH_MODIFY_MESSAGESAdds or removes labels on up to 1,000 Gmail messages in one request, supporting operations such as archiving and marking messages read or unread. A successful response confirms request acceptance, not individual message status.
Modify thread labels
GMAIL_MODIFY_THREAD_LABELSAdds or removes specified existing label IDs from a Gmail thread, affecting all its messages; ensure the thread ID is valid. To modify a single message only, use a message-level tool instead.
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.
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.
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.