Limited offer50% off your first month: the $99 plan for $4924 hours onlySee plans
← All integrations
Gmail logo

Gmail

Send, read, and search email.

CommunicationOAuth63 endpoints

Endpoints

OperationMethod & pathEffectLatencyRateCost
GMAIL_ADD_LABEL_TO_EMAIL
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).
POST /composio/gmail/gmail_add_label_to_emailexternal_send——no bill
GMAIL_BATCH_DELETE_MESSAGES
Permanently deletes multiple Gmail messages by ID, bypassing Trash. A successful request does not confirm individual messages existed or were deleted.
POST /composio/gmail/gmail_batch_delete_messagesexternal_send——no bill
GMAIL_BATCH_MODIFY_MESSAGES
Adds 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.
POST /composio/gmail/gmail_batch_modify_messagesexternal_send——no bill
GMAIL_CREATE_EMAIL_DRAFT
Creates 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.
POST /composio/gmail/gmail_create_email_draftexternal_send——no bill
GMAIL_CREATE_FILTER
Tool 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.
POST /composio/gmail/gmail_create_filterexternal_send——no bill
GMAIL_CREATE_LABEL
Creates 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.
POST /composio/gmail/gmail_create_labelexternal_send——no bill
GMAIL_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. Ensure the draft exists and the user has necessary permissions for the given `user_id`.
POST /composio/gmail/gmail_delete_draftexternal_send——no bill
GMAIL_DELETE_FILTER
Tool to permanently delete a Gmail filter by its ID. Use when you need to remove an existing email filtering rule.
POST /composio/gmail/gmail_delete_filterexternal_send——no bill
GMAIL_DELETE_LABEL
Permanently DELETES a user-created Gmail label from the account (not from a message). WARNING: This action DELETES the label definition itself, removing it from all messages. System labels (INBOX, SENT, UNREAD, etc.) cannot be deleted. To add/remove labels from specific messages, use GMAIL_ADD_LABEL_TO_EMAIL action instead.
POST /composio/gmail/gmail_delete_labelexternal_send——no bill
GMAIL_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.
POST /composio/gmail/gmail_delete_messageexternal_send——no bill
GMAIL_DELETE_THREAD
Tool to immediately and permanently delete a specified thread and all its messages. This operation cannot be undone. Use threads.trash instead for reversible deletion.
POST /composio/gmail/gmail_delete_threadexternal_send——no bill
GMAIL_FETCH_EMAILS
Lists Gmail messages with query and label filtering, pagination, and optional message details. Individual detail fetches returning 404, 429, or 503 are skipped, so a page can contain fewer messages than the list result.
GET /composio/gmail/gmail_fetch_emailsnone——no bill

Showing 12 of 63 Gmail actions. Every action is in the provider catalog, and the CLI and MCP list them with their inputs.