Skip to main content
Server path: /gmail | Type: Application | PCID required: Yes

Tools


gmail_archive_email

Archive an email (removes from inbox but keeps it accessible in All Mail). Email is NOT deleted Parameters:

gmail_batch_delete_emails

Delete multiple Gmail messages by moving them to the trash using batch processing. Messages can be recovered from trash within 30 days. Parameters:

gmail_batch_modify_emails

Apply label changes to multiple emails at once. More efficient than calling gmail_modify_email repeatedly Parameters:

gmail_create_label

Create a new custom Gmail label for organizing emails. Returns the label ID for use with gmail_modify_email Parameters:

gmail_delete_label

Delete a custom label. Emails with this label are NOT deleted, only the label is removed from them Parameters:

gmail_download_attachment

Download an email attachment and store it as an artifact. Returns a link to the stored file, metadata, and a text preview for supported types (PDF, DOCX, XLSX, PPTX). Get attachmentId from gmail_search_emails or gmail_read_email Parameters:

gmail_draft_email

Create a draft email in Gmail for user review before sending. Same options as gmail_send_email Parameters:

gmail_get_or_create_label

Get a label by name, creating it if it does not exist. Idempotent - safe to call multiple times Parameters:

gmail_list_email_labels

List all Gmail labels (both system and custom). Returns label IDs needed for gmail_modify_email Parameters:

gmail_list_trigger_capabilities

List available Gmail trigger types for automation. Used by the trigger configuration system

gmail_modify_email

Add or remove labels on an email. Use to mark read/unread, star, move to folders, or apply custom labels Parameters:

gmail_poll_trigger

Poll for new emails since last check. Used by automation triggers. Returns full email data including body and attachment info Parameters:

gmail_read_email

Read the full content of an email including body, headers, and attachment info. Use messageId from gmail_search_emails Parameters:

gmail_search_emails

Search emails using Gmail search syntax. Returns structured email data including id, subject, from, to, cc, date, snippet, labelIds, and optionally attachments and body content. Supports bodyPreview when includeBody is “preview”, “text”, “html”, or “both”. Parameters:

gmail_send_email

Send an email via Gmail. Supports CC/BCC, HTML content, attachments via URL, and email threading for replies Parameters:

gmail_trash_email

Move email to Trash. Can be recovered within 30 days. Parameters:

gmail_update_label

Rename a label or change its visibility settings Parameters: