Skip to main content
Glama

Google Workspace MCP Server

MIT License
105
  • Apple
  • Linux

get_gmail_messages_content_batch

Retrieve multiple Gmail message contents in one batch request. Supports up to 100 messages, with options for full body or metadata-only formats, streamlining email data extraction.

Instructions

Retrieves the content of multiple Gmail messages in a single batch request. Supports up to 100 messages per request using Google's batch API. Args: message_ids (List[str]): List of Gmail message IDs to retrieve (max 100). 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
serviceYes
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" }, "service": { "title": "service", "type": "string" }, "user_google_email": { "title": "User Google Email", "type": "string" } }, "required": [ "service", "message_ids", "user_google_email" ], "title": "get_gmail_messages_content_batchArguments", "type": "object" }

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/taylorwilsdon/google_workspace_mcp'

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