Gmail MCP

by shinzo-labs
Verified
MIT License
126
1
  • Apple
  • Linux

batch_modify_messages

Update labels on multiple Gmail messages simultaneously by adding or removing specific label IDs. Ideal for organizing and categorizing emails efficiently.

Instructions

Modify the labels on multiple messages

Input Schema

NameRequiredDescriptionDefault
addLabelIdsNoA list of label IDs to add to the messages
idsYesThe IDs of the messages to modify
removeLabelIdsNoA list of label IDs to remove from the messages

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "addLabelIds": { "description": "A list of label IDs to add to the messages", "items": { "type": "string" }, "type": "array" }, "ids": { "description": "The IDs of the messages to modify", "items": { "type": "string" }, "type": "array" }, "removeLabelIds": { "description": "A list of label IDs to remove from the messages", "items": { "type": "string" }, "type": "array" } }, "required": [ "ids" ], "type": "object" }
ID: 1je9b8hapn