Skip to main content
Glama

get_send_as

Retrieve a configured send-as email alias from your Gmail account to verify settings or use for sending messages.

Instructions

Gets the specified send-as alias

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sendAsEmailYesThe send-as alias to be retrieved

Implementation Reference

  • src/index.ts:1158-1169 (registration)
    Registers the 'get_send_as' MCP tool. Includes the input schema (sendAsEmail parameter), and the handler function which uses the shared handleTool helper to authenticate and call the Gmail API gmail.users.settings.sendAs.get to retrieve the specified send-as alias.
    server.tool("get_send_as", "Gets the specified send-as alias", { sendAsEmail: z.string().describe("The send-as alias to be retrieved") }, async (params) => { return handleTool(config, async (gmail: gmail_v1.Gmail) => { const { data } = await gmail.users.settings.sendAs.get({ 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/faithk7/gmail-mcp'

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