gmail_batch_modify_labels
Batch apply or remove Gmail labels to multiple messages at once, handling up to 1000 per operation to save time and streamline organization.
Instructions
Apply label changes to multiple messages in one operation. More efficient than individual modifications. Limited to 1000 messages. Requires full scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true to confirm bulk operation (required for >100 messages) | |
| accountId | Yes | The Google account ID, alias, or email | |
| messageIds | Yes | Array of message IDs to modify (max 1000) | |
| addLabelIds | No | Label IDs to add to all messages | |
| removeLabelIds | No | Label IDs to remove from all messages |