Skip to main content
Glama

stop_mail_watch

Stop receiving Gmail push notifications for a user mailbox to pause real-time email alerts and manage notification preferences.

Instructions

Stop receiving push notifications for the given user mailbox

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/index.ts:1296-1305 (registration)
    Registration of the 'stop_mail_watch' MCP tool, including inline handler that uses the Gmail API to stop mailbox push notifications via gmail.users.stop. The handler wraps the API call with handleTool for authentication and error handling, and formats the response.
    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) }) } )

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