Gmail MCP

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

watch_mailbox

Monitor changes in a Gmail mailbox, such as new emails or label updates, and publish notifications to a specified Cloud Pub/Sub topic for real-time email tracking.

Instructions

Watch for changes to the user's mailbox

Input Schema

NameRequiredDescriptionDefault
labelFilterActionNoWhether to include or exclude the specified labels
labelIdsNoLabel IDs to restrict notifications to
topicNameYesThe name of the Cloud Pub/Sub topic to publish notifications to

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "labelFilterAction": { "description": "Whether to include or exclude the specified labels", "enum": [ "include", "exclude" ], "type": "string" }, "labelIds": { "description": "Label IDs to restrict notifications to", "items": { "type": "string" }, "type": "array" }, "topicName": { "description": "The name of the Cloud Pub/Sub topic to publish notifications to", "type": "string" } }, "required": [ "topicName" ], "type": "object" }
ID: 1je9b8hapn