Skip to main content
Glama
MIT License
156
29
  • Apple
  • Linux

batch_modify_messages

Apply label updates to multiple Gmail messages at once. Add or remove specific labels in bulk to streamline email organization and improve workflow efficiency.

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" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shinzo-labs/gmail-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server