get_pop
Retrieve POP3 configuration settings for Gmail accounts to enable email client setup and access.
Instructions
Gets POP settings
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:864-873 (handler)The registration and inline handler for the 'get_pop' tool. It defines an empty input schema and a handler that uses the shared 'handleTool' wrapper to authenticate and call the Gmail API's users.settings.getPop method to retrieve POP settings, then formats the response.server.tool("get_pop", "Gets POP settings", {}, async () => { return handleTool(config, async (gmail: gmail_v1.Gmail) => { const { data } = await gmail.users.settings.getPop({ userId: 'me' }) return formatResponse(data) }) } )