Skip to main content
Glama

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
NameRequiredDescriptionDefault
sendAsEmailYesThe email address that appears in the 'From:' header

Implementation Reference

  • 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) }) } )

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/nk900600/gmail-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server