Skip to main content
Glama

watch_mailbox

Monitor your Gmail mailbox for new emails and changes by setting up notifications through Cloud Pub/Sub. Configure label filters to track specific email categories and receive real-time updates.

Instructions

Watch for changes to the user's mailbox

Input Schema

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

Input Schema (JSON Schema)

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

Latest Blog Posts

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/HitmanLy007/gmail-mcp'

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