Skip to content

Gmail Messages API

The Gmail Messages API returns Gmail messages. Gmail provides this through Longwave.

Add to Longwave

Gmail Messages API with your agent

Paste this into Claude Code or a terminal. Then run /mcp to sign in.

provider
1

Provider

Provider Price Access
Gmail gmail.messages.list Included within the connected account's API quota or product plan; no separate per-call fee published. Connect account

Prices are each vendor's published rate. Functions marked “No key needed” are billed at that rate in Longwave credits, with no markup. Functions marked “Your key” are billed to your own vendor account.

Run it

In Claude Code, Codex, Cursor or ChatGPT, add the Longwave MCP server once, then ask for the result. In Longwave, ask in any thread.

Questions people ask

Does Gmail message search return the message body?

The list response returns message IDs and thread IDs. Retrieve an individual message to read its body and other message fields. Gmail messages.list

Which providers offer a Gmail Messages API?

Gmail provides this through Longwave.

Do I need an API key?

Providers marked "Your key" need your own key, added once in Longwave settings. Providers marked "Connect account" need you to sign in to that account.

Gmail Messages API in Longwave

Ask any Longwave thread for the result, or add Longwave to Claude Code, Codex, Cursor or ChatGPT.

Add to Longwave