Skip to main content
Glama

MCP Server Boilerplate

gmail-read-emails

Retrieve and filter emails from Gmail using search queries, label IDs, and a customizable number of results. Integrates with the MCP Server Boilerplate for enhanced functionality.

Instructions

Read/list emails from Gmail with optional search query

Input Schema

NameRequiredDescriptionDefault
labelIdsNoArray of label IDs to filter by
maxResultsNoMaximum number of emails to return
queryNoGmail search query (e.g., 'is:unread', 'from:example@gmail.com')

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "labelIds": { "description": "Array of label IDs to filter by", "items": { "type": "string" }, "type": "array" }, "maxResults": { "default": 10, "description": "Maximum number of emails to return", "maximum": 100, "minimum": 1, "type": "number" }, "query": { "description": "Gmail search query (e.g., 'is:unread', 'from:example@gmail.com')", "type": "string" } }, "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/CaptainCrouton89/maps-mcp'

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