- functions
- 8
- access
- Connect account
- tasks
- 1
Use Gmail on Longwave
- Download Longwave or open app.longwave.run.
- Connect your Gmail account once. Agents then act on that account, and only that account.
- Ask for the result in any thread, for example: “Find customer emails about a product issue”. The agent picks the Gmail function and calls it.
Use Gmail in Claude Code, Codex, Cursor or ChatGPT
Add the Longwave MCP server once. It carries 2,593 functions across 103 tools, including Gmail, and asks you to sign in on first use.
Why call Gmail through Longwave
- One sign-in to Gmail, shared by every harness and device you use.
- One MCP server for 103 tools, so your agent setup does not grow a key and a server per vendor.
- Spending limits per key and per account, checked before a paid call is made.
- Each call is recorded with the provider, the cost and the result, and can be read again from another device.
Gmail functions
Functions 5
| Function | Price |
|---|---|
| gmail.threads.list gmail.threads.list | See vendor pricing |
| gmail.threads.get gmail.threads.get | See vendor pricing |
| gmail.drafts.create gmail.drafts.create | See vendor pricing |
| gmail.messages.modify gmail.messages.modify | See vendor pricing |
| gmail.labels.list gmail.labels.list | See vendor pricing |
Gmail 3
Every function here: Included within the connected account's API quota or product plan; no separate per-call fee published. Included within the connected account's API quota or product plan; no separate per-call fee published.
| Function |
|---|
| List Gmail messages List one bounded page of message IDs from the connected Gmail mailbox. gmail.messages.list |
| Get a Gmail message Read one parsed message from the connected Gmail mailbox. gmail.messages.get |
| Send a Gmail message Send a base64url-encoded RFC 2822 message, including recipient headers, from the connected mailbox. gmail.messages.send |
Prices are Gmail's published rates. Source: Gmail pricing.
Use cases
- Find customer emails about a product issue Search mailbox messages that match the requested query.
- Read an email before drafting a reply Retrieve the selected message from the connected mailbox.
- Send a prepared customer reply Send the supplied email from the connected account.