Gmail API

API

Read Gmail inboxes, manage threads and send mail as the authorized user

Price
Free quota; planned overage billing
Access
OAuth 2.0 with Gmail scopes

About

Google's API for messages, threads, drafts, labels and mailbox changes. Its remote MCP is a Developer Preview requiring Google Workspace Developer Preview Program membership. Enable APIs and OAuth consent; restricted scopes require verification and may require a security assessment.

What you can do with it

  • Read and search a user's Gmail inbox and email threads
  • Send email as the authorized Gmail user and manage drafts
  • Sync mailbox changes with watches or connect an agent through Google's MCP

Get started

  1. Enable Gmail API in a Google Cloud project
  2. Configure OAuth consent, request minimum scopes and obtain an access token
  3. For MCP, join Google's Workspace Developer Preview and enable Gmail MCP API

Example

curl "https://gmail.googleapis.com/gmail/v1/users/me/messages?maxResults=10" \
  -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN"

Details

Hosting
Hosted service
Available in
Worldwide
MCP server
Remote
Works with
Gmail

Tasks

Alternatives

Other tools for the same tasks.

Last checked on .