Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create email draft
GMAIL_CREATE_EMAIL_DRAFTCreates a Gmail draft with optional recipients, subject, plain or HTML body, attachments, and threading. When a requested thread cannot be fetched, the draft is created without threading; a provided subject is used instead of the thread subject.
Create Gmail filter
GMAIL_CREATE_FILTERTool to create a new Gmail filter with specified criteria and actions. Use when the user wants to automatically organize incoming messages based on sender, subject, size, or other criteria. Note: you can only create a maximum of 1,000 filters per account.
Create label
GMAIL_CREATE_LABELCreates a Gmail label and returns its label ID. For nested labels, it may create missing parent labels; on a name conflict it attempts to return the existing matching label.
Forward email message
GMAIL_FORWARD_MESSAGEForwards an existing Gmail message to specified recipients, with optional additional text. The tool copies original message parts into a new message, but may alter MIME structure and attachment metadata.
Import message
GMAIL_IMPORT_MESSAGETool to import a message into the user's mailbox with standard email delivery scanning and classification. Use when you need to add an existing email to a Gmail account without sending it through SMTP. This method doesn't perform SPF checks, so it might not work for some spam messages.
Insert message into mailbox
GMAIL_INSERT_MESSAGETool to insert a message into the user's mailbox similar to IMAP APPEND. Use when you need to add an email directly to a mailbox bypassing most scanning and classification. This does not send a message.
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.
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.