Skip to main content
Glama

gmail_messages_list

Retrieve Gmail messages by applying search queries and filters to manage email interactions within Google Workspace.

Instructions

List Gmail messages matching a query.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userIdYesUser ID (use 'me')
qNoGmail search query (e.g. "from:user@example.com subject:hello")
maxResultsNoMax messages to return
labelIdsNoLabel IDs to filter by

Latest Blog Posts

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/conorbronsdon/gws-mcp-server'

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