Skip to main content
Glama

Google Workspace MCP Server

MIT License
105
  • Apple
  • Linux

search_gmail_messages

Search and retrieve specific Gmail messages using queries. Retrieve Message IDs, Thread IDs, and direct Gmail web links for verification. Supports standard Gmail search operators.

Instructions

Searches messages in a user's Gmail account based on a query. Returns both Message IDs and Thread IDs for each found message, along with Gmail web interface links for manual verification. Args: query (str): The search query. Supports standard Gmail search operators. user_google_email (str): The user's Google email address. Required. page_size (int): The maximum number of messages to return. Defaults to 10. Returns: str: LLM-friendly structured results with Message IDs, Thread IDs, and clickable Gmail web interface URLs for each found message.

Input Schema

NameRequiredDescriptionDefault
page_sizeNo
queryYes
serviceYes
user_google_emailYes

Input Schema (JSON Schema)

{ "properties": { "page_size": { "default": 10, "title": "Page Size", "type": "integer" }, "query": { "title": "Query", "type": "string" }, "service": { "title": "service", "type": "string" }, "user_google_email": { "title": "User Google Email", "type": "string" } }, "required": [ "service", "query", "user_google_email" ], "title": "search_gmail_messagesArguments", "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