list_smime_info
Retrieve S/MIME encryption configurations for a specific Gmail send-as email alias to manage secure email settings.
Instructions
Lists S/MIME configs for the specified send-as alias
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sendAsEmail | Yes | The email address that appears in the 'From:' header |
Implementation Reference
- src/index.ts:1262-1273 (handler)Registration and inline handler function for the 'list_smime_info' tool. It validates input with Zod schema requiring 'sendAsEmail', then uses handleTool to call the Gmail API gmail.users.settings.sendAs.smimeInfo.list to retrieve S/MIME configurations for the specified send-as alias.server.tool("list_smime_info", "Lists S/MIME configs for the specified send-as alias", { sendAsEmail: z.string().describe("The email address that appears in the 'From:' header") }, async (params) => { return handleTool(config, async (gmail: gmail_v1.Gmail) => { const { data } = await gmail.users.settings.sendAs.smimeInfo.list({ userId: 'me', sendAsEmail: params.sendAsEmail }) return formatResponse(data) }) } )