get_imap
Retrieve Gmail IMAP settings to configure email clients. Access IMAP server details for email synchronization.
Instructions
Gets IMAP settings
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:842-851 (handler)The 'get_imap' tool registration and handler. It's a tool that gets IMAP settings by calling gmail.users.settings.getImap(). No parameters are required. The handler wraps the call in handleTool() with formatResponse().
server.tool("get_imap", "Gets IMAP settings", {}, async () => { return handleTool(config, async (gmail: gmail_v1.Gmail) => { const { data } = await gmail.users.settings.getImap({ userId: 'me' }) return formatResponse(data) }) } ) - src/index.ts:842-843 (registration)Registration of the 'get_imap' tool via server.tool() with name 'get_imap' and description 'Gets IMAP settings'. No schema parameters defined (empty object {}).
server.tool("get_imap", "Gets IMAP settings",