stop_mail_watch
Disable push notifications for a specific user mailbox to minimize interruptions and manage email alerts effectively with Gmail MCP integration.
Instructions
Stop receiving push notifications for the given user mailbox
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:1329-1338 (handler)Handler and registration for the 'stop_mail_watch' tool. It takes no parameters and uses the Gmail API's users.stop method to stop push notifications for the user's mailbox. Relies on the shared handleTool function for authentication and error handling.server.tool("stop_mail_watch", "Stop receiving push notifications for the given user mailbox", {}, async () => { return handleTool(config, async (gmail: gmail_v1.Gmail) => { const { data } = await gmail.users.stop({ userId: 'me' }) return formatResponse(data) }) } )