Skip to main content
Glama

MCP Headless Gmail Server

gmail_get_email_body_chunk

Extract a 1k character chunk from the body of a Gmail email starting at a specified offset, using a Google OAuth2 token and message or thread ID. Designed for API-driven email processing in remote environments.

Instructions

Get a 1k character chunk of an email body starting from the specified offset

Input Schema

NameRequiredDescriptionDefault
google_access_tokenYesGoogle OAuth2 access token
message_idNoID of the message to retrieve
offsetNoOffset in characters to start from (default: 0)
thread_idNoID of the thread to retrieve (will get the first message if multiple exist)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "google_access_token": { "description": "Google OAuth2 access token", "type": "string" }, "message_id": { "description": "ID of the message to retrieve", "type": "string" }, "offset": { "description": "Offset in characters to start from (default: 0)", "type": "number" }, "thread_id": { "description": "ID of the thread to retrieve (will get the first message if multiple exist)", "type": "string" } }, "required": [ "google_access_token" ], "type": "object" }

Other Tools from MCP Headless Gmail Server

Related Tools

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

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