Skip to main content
Glama

Google Workspace MCP Server

by ZatesloFL

get_gmail_messages_content_batch

Retrieve content of multiple Gmail messages in one batch request. Supports up to 25 messages, choosing between full content or metadata, streamlining email data extraction.

Instructions

Retrieves the content of multiple Gmail messages in a single batch request. Supports up to 25 messages per batch to prevent SSL connection exhaustion.

Args: message_ids (List[str]): List of Gmail message IDs to retrieve (max 25 per batch). user_google_email (str): The user's Google email address. Required. format (Literal["full", "metadata"]): Message format. "full" includes body, "metadata" only headers.

Returns: str: A formatted list of message contents with separators.

Input Schema

NameRequiredDescriptionDefault
formatNofull
message_idsYes
user_google_emailYes

Input Schema (JSON Schema)

{ "properties": { "format": { "default": "full", "enum": [ "full", "metadata" ], "title": "Format", "type": "string" }, "message_ids": { "items": { "type": "string" }, "title": "Message Ids", "type": "array" }, "user_google_email": { "title": "User Google Email", "type": "string" } }, "required": [ "message_ids", "user_google_email" ], "type": "object" }

Other Tools from Google Workspace MCP 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/ZatesloFL/google_workspace_mcp'

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