Apply/remove Gmail labels
apply_gmail_labelsAdd and/or remove labels on up to 1000 messages at once. This is Gmail's equivalent of moving messages between folders — add the destination label and remove INBOX (or the source label) in the same call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | Yes | Email address of the connected Gmail/Google Workspace mailbox to act on. Call list_authorized_mailboxes to see available options. | |
| messageIds | Yes | ||
| addLabelIds | No | ||
| removeLabelIds | No |