gmail_watch
Configure push notifications to monitor Gmail mailbox changes via a Cloud Pub/Sub topic. Get notified of new emails or label updates.
Instructions
Set up push notifications for mailbox changes (requires a Cloud Pub/Sub topic)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"topicName": "<topicName>"
},
"name": "gmail_watch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labelIds | No | Comma-separated label IDs to watch (default: all) | |
| topicName | Yes | Cloud Pub/Sub topic name, e.g. projects/my-project/topics/gmail | |
| labelFilterBehavior | No | Whether labelIds are included or excluded (default 'include') |