{
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-10-08",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.4",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run"
  },
  "tool": {
    "slug": "gmail-api",
    "name": "Gmail API",
    "vendor": "Google",
    "vendorUrl": "https://developers.google.com/workspace/gmail",
    "kind": "http-api",
    "category": "mailbox-access",
    "summary": "Google's REST API for Gmail mailboxes. It searches and reads messages and threads, writes drafts, sends mail, manages labels and settings, and reports mailbox changes through history records and Cloud Pub/Sub push notifications. Access is by OAuth 2.0.",
    "url": "https://www.anchorterminal.com/tools/gmail-api",
    "markdownUrl": "https://www.anchorterminal.com/tools/gmail-api.md",
    "slimMarkdownUrl": "https://www.anchorterminal.com/tools/gmail-api.min.md",
    "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/gmail-api.json",
    "repo": "https://github.com/googleapis/google-api-nodejs-client",
    "license": "Apache-2.0 (client libraries)",
    "transports": [
      "http",
      "streamable-http"
    ],
    "remoteUrl": "https://gmail.googleapis.com/gmail/v1",
    "packages": [
      {
        "registry": "npm",
        "name": "@googleapis/gmail"
      },
      {
        "registry": "pypi",
        "name": "google-api-python-client"
      }
    ],
    "auth": "oauth",
    "authNotes": "OAuth 2.0 access token as a Bearer header, from a Google Cloud project with the Gmail API enabled and an OAuth consent screen. Self-serve for personal use, testing and apps internal to one Workspace organisation. A public app that requests any of the eight restricted scopes, which include `gmail.readonly` and `gmail.metadata`, needs Google's restricted-scope verification, and a CASA security assessment every 12 months if it reaches the data from or through a server. Workspace domains can use a service account with domain-wide delegation. The MCP server needs your own OAuth client ID and secret, the `gmail.readonly` and `gmail.compose` scopes, and Developer Preview Programme membership.",
    "pricing": "free",
    "pricingNotes": "All standard use is at no extra cost, and a free Google account and Cloud project are enough to start, with no card or contract. Limits are 1,200,000 quota units a minute per project, 6,000 a minute per user and a daily threshold of 80,000,000 units per project. Google says use above the daily threshold is planned to be charged to the Cloud billing account later in 2026, with details and at least 90 days' notice still to come (https://developers.google.com/workspace/gmail/api/reference/quota). A security assessment for restricted scopes is paid to a third-party assessor, at a cost Google's pages don't state.",
    "priceSummary": "Free",
    "where": "hosted",
    "x402": {
      "level": "no",
      "evidence": "No x402, MPP or L402 in the Gmail API guides, the quota page or the discovery document (checked 2026-10-08).",
      "endpoints": []
    },
    "toolCount": 23,
    "popularity": {
      "githubStars": 12262,
      "npmWeekly": 1091106,
      "pypiWeekly": null,
      "asOf": "2026-10-08"
    },
    "docsUrl": "https://developers.google.com/workspace/gmail/api/guides",
    "capabilities": [
      "mailbox.read",
      "mailbox.search",
      "mailbox.send",
      "mailbox.drafts",
      "mailbox.sync"
    ],
    "tags": [
      "hosted",
      "official",
      "free-tier",
      "mcp",
      "webhooks",
      "oauth",
      "typescript",
      "python",
      "enterprise"
    ],
    "lastRelease": "2026-09-23",
    "graded": true,
    "anchor": {
      "graded": true,
      "score": 77.8,
      "grade": "BB",
      "agentReady": true,
      "rank": 17,
      "ranked": true,
      "rankOf": 629,
      "categoryRank": 2,
      "methodology": "0.4",
      "run": "2026-10-01",
      "scores": {
        "ergonomics": 82,
        "maintenance": 85,
        "payments": 35,
        "reliability": 90,
        "schema": 82,
        "security": 81,
        "transparency": 82
      },
      "pending": [
        "performance",
        "tasks"
      ],
      "breakdown": [
        {
          "key": "reliability",
          "name": "Reliability",
          "weight": 16,
          "effectiveWeight": 20,
          "score": 90,
          "points": 18,
          "reason": "Graded on the REST API with the hosted lines. The Google Workspace Status Dashboard lists Gmail with an incidents feed that goes back to October 2025 (20). In the 90 days to 8 October 2026 the feed has one Gmail entry, a low-severity notice from 18 to 24 September about sign-in on the Gmail Android app, with no entry that touches the service or the API. The last service disruption for Gmail was 56 minutes on 31 May 2026, across several Workspace products. The dashboard tracks the Gmail product, not the API alone (30). 1,200,000 quota units a minute per project, 6,000 a minute per user and 80,000,000 a day per project, with a unit cost for every method (15). 403 and 429 rate errors with a truncated exponential backoff formula, and 429s for sending and bandwidth limits that carry a retry time. `messages.send` has no idempotency key, and the error guide says a 200 response doesn't mean the mail was sent (10). The Workspace SLA covers Gmail at 99.9 per cent but measures downtime in the user web interface and doesn't name the API, read the same way as for Drive (5). The REST API is GA. The MCP server is a developer preview (10)."
        },
        {
          "key": "performance",
          "name": "Performance",
          "weight": 10,
          "effectiveWeight": 0,
          "pending": true,
          "points": 0,
          "reason": "Pending. Latency is measured per call by our probes, which haven't run yet, so this run doesn't score it. Its weight is shared across the assessed categories until the first probe window closes."
        },
        {
          "key": "schema",
          "name": "Schema \u0026 documentation",
          "weight": 13,
          "effectiveWeight": 16.25,
          "score": 82,
          "points": 13.33,
          "reason": "Google publishes a discovery document, not OpenAPI, which is a machine-readable contract all the same, at revision 20260928 with 79 methods on 8 October. The preview MCP server's 23 tools each carry typed input and output schemas (25). No llms.txt, and developers.google.com/llms.txt and /workspace/llms.txt returned 404 on 8 October (0). Method descriptions say what each call does and sometimes what to call in its place, such as `messages.delete` pointing to `messages.trash`, and the MCP tool descriptions name the tool to use first (16). Typed parameters with enums such as `format` and defaults such as `userId=me`, but a sent message is one base64url RFC 2822 string in `raw` and search is one free-text `q` string (11). An error guide with a JSON sample and a fix for each reason, and code samples across the guides (15). v1 in the path and dated release notes, though the last entry for the core API is 1 May 2026 and the growth of the MCP server from 10 tools to 23 isn't recorded there (15)."
        },
        {
          "key": "ergonomics",
          "name": "Agent ergonomics",
          "weight": 13,
          "effectiveWeight": 16.25,
          "score": 82,
          "points": 13.33,
          "reason": "Responses size with `format=minimal` or `metadata`, `metadataHeaders`, `maxResults` and Google's standard `fields` partial responses. List calls return IDs only, so reading mail takes a second call for each message, which batching of up to 100 calls eases. The MCP preview's 23 tool definitions come to about 71 KB (20). `pageToken`, the Gmail search syntax in `q`, `labelIds` and `history.list` for changes since a stored `historyId` (20). Error reasons with a documented fix, fewer of them than the Calendar and Drive guides list (17). Label changes and trash are safe to repeat and the MCP tools carry readOnlyHint, destructiveHint and idempotentHint, but sends have no idempotency key (12). Most parameters are optional and client libraries cover the main languages, but a send needs a hand-built MIME message (13)."
        },
        {
          "key": "security",
          "name": "Security \u0026 auth",
          "weight": 14,
          "effectiveWeight": 17.5,
          "score": 81,
          "points": 14.18,
          "reason": "OAuth 2.0 with 14 scopes and revocable tokens, from `gmail.labels` and `gmail.send` up to the full `https://mail.google.com/` scope. The discovery document lists `access_token` and `oauth_token` as query parameters, and Google's OAuth guide shows the query string as an alternative while calling the header preferable, so the checklist's 10-point deduction applies (30 less 10, 20). `gmail.readonly`, `gmail.metadata` (headers and labels, no bodies), `gmail.labels` and `gmail.send` for least privilege, and permanent delete only under the full scope. Nothing in the API confirms a send or a delete, and every scope that reads mail is restricted (17). The MCP guide warns about indirect prompt injection through email, requires screening of prompts and responses with Model Armor or a documented alternative, and tells operators to review actions. The REST guides say nothing on it (12). Workspace OAuth log events record the API name, method, OAuth client ID and scopes, with the investigation tool limited to higher editions, and no per-call log for personal accounts was found (12). security.txt valid to 2030 with the Google VRP, and the Google Workspace SOC 2 Type II reports, issued quarterly, list Gmail and the Gmail REST API in scope. Apps holding restricted data must pass a CASA assessment every 12 months (20)."
        },
        {
          "key": "payments",
          "name": "Payments \u0026 pricing",
          "weight": 10,
          "effectiveWeight": 12.5,
          "score": 35,
          "points": 4.38,
          "reason": "No x402, MPP or L402 (0). Free within published quotas, with a unit cost for every method, but the price for use above 80,000,000 units a day, planned for later in 2026, isn't published on the quota page or the standardised-model page on 8 October (15). No charge for standard use and no card needed to enable the API (20). A person creates a Cloud project and an OAuth consent screen, a user consents in a browser, and a public app with restricted scopes goes through verification and a security assessment (0)."
        },
        {
          "key": "tasks",
          "name": "Task success",
          "weight": 10,
          "effectiveWeight": 0,
          "pending": true,
          "points": 0,
          "reason": "Pending. Task success needs the category task suites run through each tool, which haven't run yet, so this run doesn't score it. Its weight is shared across the assessed categories until then. A data provider's data-quality score is published on its listing now and becomes half of this category when it's scored."
        },
        {
          "key": "maintenance",
          "name": "Maintenance \u0026 community",
          "weight": 7,
          "effectiveWeight": 8.75,
          "score": 85,
          "points": 7.44,
          "reason": "@googleapis/gmail 22.0.1 on 23 September 2026, and discovery revision 20260928 (30). Four client releases in the 90 days, 20.0.0 and 21.0.0 on 10 September, 22.0.0 on 14 September and 22.0.1 on 23 September, though the Gmail API release notes have no entry after 24 June 2026 (20). Dated release notes with a feed and public client repositories with commits to 7 October. We didn't sample replies on the issue tracker (12). Current official client libraries, with google-api-python-client 2.201.0 on 30 September (15). Generated clients rebuilt from discovery with a CI workflow in google-api-nodejs-client, whose pass state we didn't check. The repository's own copy of the Gmail discovery file was at revision 20260727 (8)."
        },
        {
          "key": "transparency",
          "name": "Transparency \u0026 trust",
          "weight": 7,
          "effectiveWeight": 8.75,
          "score": 82,
          "points": 7.18,
          "note": "editorial 69, provenance 94",
          "reason": "Closed service under the Google APIs Terms of Service (last modified 9 November 2021), with Apache-2.0 client libraries (15). The Cloud Data Processing Addendum commits Google to delete Workspace customer data within a maximum of 180 days of a deletion, and the Workspace developer policy limits what third-party apps may do with Gmail data, including no transfer for advertising and no training of general models. We found no retention statement for personal accounts' data reached through the API, and didn't read the privacy policy text (20). Dated announcements ahead of changes, such as existing projects keeping their quotas for at least 60 days after 1 May 2026 and at least 90 days' notice before quota charges, but no stated deprecation period, and the API terms let Google discontinue an API (14). The Workspace sub-processor list, last modified 23 July 2026, names third-party sub-processors with the country each processes in, and covers Gmail as a Core Service for Workspace tenants (20)."
        }
      ],
      "assessment": {
        "date": "2026-10-08",
        "basis": "public evidence",
        "confidence": "medium",
        "notes": {
          "ergonomics": "Responses size with `format=minimal` or `metadata`, `metadataHeaders`, `maxResults` and Google's standard `fields` partial responses. List calls return IDs only, so reading mail takes a second call for each message, which batching of up to 100 calls eases. The MCP preview's 23 tool definitions come to about 71 KB (20). `pageToken`, the Gmail search syntax in `q`, `labelIds` and `history.list` for changes since a stored `historyId` (20). Error reasons with a documented fix, fewer of them than the Calendar and Drive guides list (17). Label changes and trash are safe to repeat and the MCP tools carry readOnlyHint, destructiveHint and idempotentHint, but sends have no idempotency key (12). Most parameters are optional and client libraries cover the main languages, but a send needs a hand-built MIME message (13).",
          "maintenance": "@googleapis/gmail 22.0.1 on 23 September 2026, and discovery revision 20260928 (30). Four client releases in the 90 days, 20.0.0 and 21.0.0 on 10 September, 22.0.0 on 14 September and 22.0.1 on 23 September, though the Gmail API release notes have no entry after 24 June 2026 (20). Dated release notes with a feed and public client repositories with commits to 7 October. We didn't sample replies on the issue tracker (12). Current official client libraries, with google-api-python-client 2.201.0 on 30 September (15). Generated clients rebuilt from discovery with a CI workflow in google-api-nodejs-client, whose pass state we didn't check. The repository's own copy of the Gmail discovery file was at revision 20260727 (8).",
          "payments": "No x402, MPP or L402 (0). Free within published quotas, with a unit cost for every method, but the price for use above 80,000,000 units a day, planned for later in 2026, isn't published on the quota page or the standardised-model page on 8 October (15). No charge for standard use and no card needed to enable the API (20). A person creates a Cloud project and an OAuth consent screen, a user consents in a browser, and a public app with restricted scopes goes through verification and a security assessment (0).",
          "reliability": "Graded on the REST API with the hosted lines. The Google Workspace Status Dashboard lists Gmail with an incidents feed that goes back to October 2025 (20). In the 90 days to 8 October 2026 the feed has one Gmail entry, a low-severity notice from 18 to 24 September about sign-in on the Gmail Android app, with no entry that touches the service or the API. The last service disruption for Gmail was 56 minutes on 31 May 2026, across several Workspace products. The dashboard tracks the Gmail product, not the API alone (30). 1,200,000 quota units a minute per project, 6,000 a minute per user and 80,000,000 a day per project, with a unit cost for every method (15). 403 and 429 rate errors with a truncated exponential backoff formula, and 429s for sending and bandwidth limits that carry a retry time. `messages.send` has no idempotency key, and the error guide says a 200 response doesn't mean the mail was sent (10). The Workspace SLA covers Gmail at 99.9 per cent but measures downtime in the user web interface and doesn't name the API, read the same way as for Drive (5). The REST API is GA. The MCP server is a developer preview (10).",
          "schema": "Google publishes a discovery document, not OpenAPI, which is a machine-readable contract all the same, at revision 20260928 with 79 methods on 8 October. The preview MCP server's 23 tools each carry typed input and output schemas (25). No llms.txt, and developers.google.com/llms.txt and /workspace/llms.txt returned 404 on 8 October (0). Method descriptions say what each call does and sometimes what to call in its place, such as `messages.delete` pointing to `messages.trash`, and the MCP tool descriptions name the tool to use first (16). Typed parameters with enums such as `format` and defaults such as `userId=me`, but a sent message is one base64url RFC 2822 string in `raw` and search is one free-text `q` string (11). An error guide with a JSON sample and a fix for each reason, and code samples across the guides (15). v1 in the path and dated release notes, though the last entry for the core API is 1 May 2026 and the growth of the MCP server from 10 tools to 23 isn't recorded there (15).",
          "security": "OAuth 2.0 with 14 scopes and revocable tokens, from `gmail.labels` and `gmail.send` up to the full `https://mail.google.com/` scope. The discovery document lists `access_token` and `oauth_token` as query parameters, and Google's OAuth guide shows the query string as an alternative while calling the header preferable, so the checklist's 10-point deduction applies (30 less 10, 20). `gmail.readonly`, `gmail.metadata` (headers and labels, no bodies), `gmail.labels` and `gmail.send` for least privilege, and permanent delete only under the full scope. Nothing in the API confirms a send or a delete, and every scope that reads mail is restricted (17). The MCP guide warns about indirect prompt injection through email, requires screening of prompts and responses with Model Armor or a documented alternative, and tells operators to review actions. The REST guides say nothing on it (12). Workspace OAuth log events record the API name, method, OAuth client ID and scopes, with the investigation tool limited to higher editions, and no per-call log for personal accounts was found (12). security.txt valid to 2030 with the Google VRP, and the Google Workspace SOC 2 Type II reports, issued quarterly, list Gmail and the Gmail REST API in scope. Apps holding restricted data must pass a CASA assessment every 12 months (20).",
          "transparency": "Closed service under the Google APIs Terms of Service (last modified 9 November 2021), with Apache-2.0 client libraries (15). The Cloud Data Processing Addendum commits Google to delete Workspace customer data within a maximum of 180 days of a deletion, and the Workspace developer policy limits what third-party apps may do with Gmail data, including no transfer for advertising and no training of general models. We found no retention statement for personal accounts' data reached through the API, and didn't read the privacy policy text (20). Dated announcements ahead of changes, such as existing projects keeping their quotas for at least 60 days after 1 May 2026 and at least 90 days' notice before quota charges, but no stated deprecation period, and the API terms let Google discontinue an API (14). The Workspace sub-processor list, last modified 23 July 2026, names third-party sub-processors with the country each processes in, and covers Gmail as a Core Service for Workspace tenants (20)."
        },
        "sources": [
          {
            "what": "Gmail API overview",
            "url": "https://developers.google.com/workspace/gmail/api/guides",
            "seen": "2026-10-08"
          },
          {
            "what": "usage limits, per-method quota units and backoff",
            "url": "https://developers.google.com/workspace/gmail/api/reference/quota",
            "seen": "2026-10-08"
          },
          {
            "what": "OAuth scopes and their sensitivity classes",
            "url": "https://developers.google.com/workspace/gmail/api/auth/scopes",
            "seen": "2026-10-08"
          },
          {
            "what": "restricted scope verification and security assessment",
            "url": "https://developers.google.com/identity/protocols/oauth2/production-readiness/restricted-scope-verification",
            "seen": "2026-10-08"
          },
          {
            "what": "Workspace user data and developer policy, approved Gmail uses and limited use",
            "url": "https://developers.google.com/workspace/workspace-api-user-data-developer-policy",
            "seen": "2026-10-08"
          },
          {
            "what": "error reference",
            "url": "https://developers.google.com/workspace/gmail/api/guides/handle-errors",
            "seen": "2026-10-08"
          },
          {
            "what": "push notifications",
            "url": "https://developers.google.com/workspace/gmail/api/guides/push",
            "seen": "2026-10-08"
          },
          {
            "what": "synchronisation guide",
            "url": "https://developers.google.com/workspace/gmail/api/guides/sync",
            "seen": "2026-10-08"
          },
          {
            "what": "batch requests",
            "url": "https://developers.google.com/workspace/gmail/api/guides/batch",
            "seen": "2026-10-08"
          },
          {
            "what": "release notes",
            "url": "https://developers.google.com/workspace/gmail/release-notes",
            "seen": "2026-10-08"
          },
          {
            "what": "MCP server setup guide and prompt-injection warning",
            "url": "https://developers.google.com/workspace/gmail/api/guides/configure-mcp-server",
            "seen": "2026-10-08"
          },
          {
            "what": "MCP server reference",
            "url": "https://developers.google.com/workspace/gmail/api/reference/mcp",
            "seen": "2026-10-08"
          },
          {
            "what": "MCP tools/list response, 23 tools",
            "url": "https://gmailmcp.googleapis.com/mcp/v1",
            "seen": "2026-10-08"
          },
          {
            "what": "MCP security and Model Armor",
            "url": "https://developers.google.com/workspace/guides/configure-mcp-security",
            "seen": "2026-10-08"
          },
          {
            "what": "standardised model for agent tools and APIs",
            "url": "https://developers.google.com/workspace/tools-safety",
            "seen": "2026-10-08"
          },
          {
            "what": "Gmail v1 discovery document, revision 20260928",
            "url": "https://gmail.googleapis.com/$discovery/rest?version=v1",
            "seen": "2026-10-08"
          },
          {
            "what": "OAuth guide, access token in a query string",
            "url": "https://developers.google.com/identity/protocols/oauth2/web-server",
            "seen": "2026-10-08"
          },
          {
            "what": "Workspace status incidents feed",
            "url": "https://www.google.com/appsstatus/dashboard/incidents.json",
            "seen": "2026-10-08"
          },
          {
            "what": "Workspace SLA",
            "url": "https://workspace.google.com/terms/sla.html",
            "seen": "2026-10-08"
          },
          {
            "what": "Workspace sub-processors",
            "url": "https://workspace.google.com/terms/subprocessors.html",
            "seen": "2026-10-08"
          },
          {
            "what": "SOC 2 reports for Google Cloud and Workspace",
            "url": "https://cloud.google.com/security/compliance/soc-2",
            "seen": "2026-10-08"
          },
          {
            "what": "Cloud Data Processing Addendum",
            "url": "https://cloud.google.com/terms/data-processing-addendum",
            "seen": "2026-10-08"
          },
          {
            "what": "OAuth log events",
            "url": "https://knowledge.workspace.google.com/admin/reports/oauth-log-events",
            "seen": "2026-10-08"
          },
          {
            "what": "Gmail sending limits in Google Workspace",
            "url": "https://support.google.com/a/answer/166852",
            "seen": "2026-10-08"
          },
          {
            "what": "Google APIs Terms of Service",
            "url": "https://developers.google.com/terms",
            "seen": "2026-10-08"
          },
          {
            "what": "security.txt",
            "url": "https://www.google.com/.well-known/security.txt",
            "seen": "2026-10-08"
          },
          {
            "what": "llms.txt (404)",
            "url": "https://developers.google.com/workspace/llms.txt",
            "seen": "2026-10-08"
          },
          {
            "what": "npm latest for @googleapis/gmail",
            "url": "https://registry.npmjs.org/@googleapis/gmail/latest",
            "seen": "2026-10-08"
          },
          {
            "what": "Gmail client changelog",
            "url": "https://github.com/googleapis/google-api-nodejs-client/blob/main/src/apis/gmail/CHANGELOG.md",
            "seen": "2026-10-08"
          },
          {
            "what": "PyPI, google-api-python-client",
            "url": "https://pypi.org/pypi/google-api-python-client/json",
            "seen": "2026-10-08"
          }
        ],
        "openQuestions": [
          "Price per quota unit above the 80,000,000-a-day threshold, and the date charging starts",
          "Which scopes the MCP preview's label, trash and spam tools need, given the setup guide configures only `gmail.readonly` and `gmail.compose`",
          "Why the live MCP server returns 23 tools while the reference page lists 10 and the setup guide 9",
          "Whether gmail.googleapis.com still accepts an access token in the query string. We read the discovery document and the OAuth guide and made no authenticated call. The same parameters appear for other Google APIs, and the Drive and Calendar dossiers didn't take this deduction",
          "Whether failures of the Gmail API alone count as downtime under the Workspace SLA, which measures the user web interface",
          "What a CASA security assessment costs",
          "unchecked: PyPI weekly downloads for google-api-python-client (pypistats.org answered 429 on 8 October)",
          "unchecked: the text of Google's privacy policy (the page answered 200 but we didn't read it) and a retention statement for personal accounts' data reached through the API",
          "unchecked: replies on Google's public issue tracker for the Gmail API, and the pass state of CI in google-api-nodejs-client",
          "unchecked: user caps and token lifetimes for unverified apps in testing, which sit in the OAuth verification help centre pages we didn't load",
          "unchecked: the daily sending limit for personal gmail.com accounts, which the Workspace limits page doesn't give"
        ]
      },
      "negative": 0,
      "verdict": "Fourteen OAuth scopes separate labels, sending, metadata and read-only access, and the quota page gives every method a unit cost. Eight of the scopes are restricted, read-only and metadata among them, so a public app that reads mail needs Google's verification and an annual third-party security assessment. Gmail mailboxes only.",
      "bestFor": "An agent working in a Gmail or Google Workspace user's own mailbox, with search, threads, drafts, labels and incremental sync at no per-account fee.",
      "strengths": [
        "14 OAuth scopes, with `gmail.labels` non-sensitive, `gmail.send` sensitive and permanent delete reserved for the full `https://mail.google.com/` scope",
        "Quota published per method, 5 units for `messages.list`, 20 for `messages.get` and 100 for `messages.send`, against 6,000 units a minute per user",
        "`history.list` and Pub/Sub push notifications give incremental sync from a stored `historyId`",
        "`format=metadata`, `metadataHeaders`, `maxResults` and `fields` keep responses small",
        "No charge for standard use, up to 80,000,000 quota units a day per project"
      ],
      "weaknesses": [
        "Eight restricted scopes, including `gmail.readonly` and `gmail.metadata`, need restricted-scope verification for a public app",
        "An app that stores or transmits restricted data on servers needs a security assessment by a Google-approved assessor every 12 months",
        "No idempotency key on `messages.send`, and the error guide says a 200 response doesn't confirm the mail was sent",
        "MCP server limited to the Developer Preview Programme, with no send tool",
        "Price for use above the daily quota not yet published"
      ],
      "agentNotes": [
        "Ask for the narrowest scope. `gmail.labels` is non-sensitive and `gmail.send` is sensitive, while every scope that reads mail is restricted",
        "List with `messages.list` and `q` in Gmail search syntax, then fetch each ID with `format=metadata` or `full`. List calls return IDs only",
        "Send by posting an RFC 2822 message, base64url encoded, in `raw`. Set `threadId` and matching reply headers to stay in a thread",
        "Store the `historyId` and call `history.list`. On a 404, run a full sync. Call `watch` again at least every 7 days",
        "Back off exponentially on 403 and 429 rate errors, and keep batches to 50 requests or fewer"
      ],
      "metrics": {
        "kind": "remote",
        "measured": false
      },
      "reviewCount": 0,
      "avgRating": 0,
      "history": [
        {
          "basis": "public evidence",
          "confidence": "medium",
          "grade": "BB",
          "methodology": "0.4",
          "pending": [
            "performance",
            "tasks"
          ],
          "run": "2026-10-01",
          "runLabel": "October 2026 research run",
          "score": 77.8
        }
      ],
      "editorialScores": {
        "ergonomics": 82,
        "maintenance": 85,
        "payments": 35,
        "reliability": 90,
        "schema": 82,
        "security": 81,
        "transparency": 69
      },
      "provenanceScore": 94
    },
    "connect": {
      "http": "curl \"https://gmail.googleapis.com/gmail/v1/users/me/messages?q=is:unread\u0026maxResults=5\" \\\n  -H \"Authorization: Bearer $GOOGLE_ACCESS_TOKEN\"",
      "config": {
        "mcpServers": {
          "gmail": {
            "oauth": {
              "clientId": "OAUTH_CLIENT_ID",
              "clientSecret": "OAUTH_CLIENT_SECRET"
            },
            "serverUrl": "https://gmailmcp.googleapis.com/mcp/v1"
          }
        }
      }
    },
    "letme": {
      "capability": "https://letme.dev/mailbox.read",
      "tool": "https://letme.dev/gmail-api"
    },
    "sameCompany": [
      "gemini-api",
      "gemini-embedding",
      "vertex-ai-tuning",
      "google-model-armor",
      "google-imagen",
      "google-veo",
      "google-lyria",
      "google-speech-to-text",
      "google-adk",
      "google-secret-manager",
      "google-weather-api",
      "chrome-devtools-mcp",
      "google-maps-platform",
      "google-cloud-translation",
      "google-calendar-api",
      "google-drive-api",
      "gemini-cli",
      "google-ads-api",
      "google-sheets-api"
    ],
    "notable": [
      "Usage limits are 1,200,000 quota units a minute per project and 6,000 a minute per user, with a daily threshold of 80,000,000 units per project, and charges above it are planned for later in 2026 with at least 90 days' notice (https://developers.google.com/workspace/gmail/api/reference/quota)",
      "Eight of the 14 scopes are restricted, among them `gmail.readonly`, `gmail.metadata`, `gmail.compose` and `gmail.modify`. Three are sensitive, including `gmail.send`, and three are non-sensitive, including `gmail.labels` (https://developers.google.com/workspace/gmail/api/auth/scopes)",
      "A public app that requests restricted scopes needs restricted-scope verification, and one that reaches the data from or through a server needs a security assessment under the CASA framework from a Google-approved assessor at least every 12 months. Personal use, development and testing, internal use within an organisation and domain-wide installation are exempt (https://developers.google.com/identity/protocols/oauth2/production-readiness/restricted-scope-verification)",
      "Approved uses of Gmail scopes are email clients with a user interface, automatic email backup, productivity applications such as CRM, mail merge or generative AI summaries, and reporting or monitoring for the user's benefit (https://developers.google.com/workspace/workspace-api-user-data-developer-policy)",
      "The Gmail MCP server at gmailmcp.googleapis.com/mcp/v1 is limited to the Google Workspace Developer Preview Programme. Its `tools/list` answered without credentials on 8 October 2026 with 23 tools, while the reference page lists 10 and the setup guide 9 (https://developers.google.com/workspace/gmail/api/reference/mcp)",
      "Quota units for `drafts.get`, `messages.attachments.get`, `messages.get`, `messages.trash`, `threads.get` and `threads.trash` changed on 1 May 2026 with the new quota tiers (https://developers.google.com/workspace/gmail/release-notes)",
      "A push watch has to be renewed at least every 7 days, each watched user is capped at one notification a second, and Google says notifications can be delayed or dropped (https://developers.google.com/workspace/gmail/api/guides/push)"
    ],
    "area": "communication",
    "details": [
      {
        "label": "Surface graded",
        "value": "The REST API at https://gmail.googleapis.com/gmail/v1, generally available, discovery revision 20260928 with 79 methods. The MCP server is a developer preview and is described but not the basis of the grade"
      },
      {
        "label": "Free tier",
        "value": "All standard use, up to 80,000,000 quota units a day per project"
      },
      {
        "label": "Rate limits",
        "value": "1,200,000 quota units a minute per project and 6,000 a minute per user per project. `messages.list` 5 units, `messages.get` 20, `threads.get` 40, `messages.send` 100, `history.list` 2"
      },
      {
        "label": "Planned charges",
        "value": "Use above the daily threshold to be billed to the Cloud billing account later in 2026, with at least 90 days' notice. No price published"
      },
      {
        "label": "Scopes",
        "value": "14. Non-sensitive `gmail.labels` and two add-on scopes. Sensitive `gmail.send` and two add-on scopes. Restricted `https://mail.google.com/`, `gmail.readonly`, `gmail.compose`, `gmail.insert`, `gmail.modify`, `gmail.metadata`, `gmail.settings.basic` and `gmail.settings.sharing`"
      },
      {
        "label": "App verification",
        "value": "Restricted scopes need restricted-scope verification for a public app, plus a CASA security assessment every 12 months when data is reached from or through a server. Google says the process can take several weeks. Personal, test, internal and domain-wide installed apps are exempt"
      },
      {
        "label": "Sending",
        "value": "`messages.send` and `drafts.send` take an RFC 2822 message, base64url encoded, up to 36,700,160 bytes by upload and 500 recipients a message. The user's Gmail daily sending limit applies, 2,000 messages a day on paid Workspace and 500 on trial accounts"
      },
      {
        "label": "Sync",
        "value": "`history.list` from a stored `historyId`, with records typically kept for at least a week and a 404 when the ID is too old. Push notifications through Cloud Pub/Sub, renewed with `watch` at least every 7 days"
      },
      {
        "label": "Batching",
        "value": "Up to 100 calls a batch request, with 50 or fewer recommended. Each call counts against quota separately"
      },
      {
        "label": "MCP server",
        "value": "gmailmcp.googleapis.com/mcp/v1, streamable HTTP, own OAuth client with `gmail.readonly` and `gmail.compose`, Developer Preview Programme members only. 23 tools on 8 October 2026, drafts but no send and no permanent delete, each with readOnlyHint, destructiveHint and idempotentHint annotations"
      },
      {
        "label": "Audit",
        "value": "Workspace OAuth log events record the API name, the API method, the OAuth client ID and scopes. The security investigation tool needs Enterprise, Frontline, Education Standard or Plus, or Cloud Identity Premium editions"
      },
      {
        "label": "Client libraries",
        "value": "@googleapis/gmail 22.0.1 (23 September 2026, Node 22 or later) and google-api-python-client 2.201.0 (30 September 2026), Apache-2.0, plus Google's generated clients for other languages"
      }
    ],
    "provenance": {
      "legalEntity": "Google LLC",
      "domain": "google.com",
      "domainRegistered": "1997-09-15",
      "domainNote": "The endpoint is on gmail.googleapis.com, Google's API domain. google.com was registered in 1997.",
      "endpointOnVendorDomain": true,
      "terms": "https://developers.google.com/terms",
      "privacy": "https://policies.google.com/privacy",
      "statusPage": "https://www.google.com/appsstatus/dashboard/",
      "changelog": "https://developers.google.com/workspace/gmail/release-notes",
      "securityTxt": "valid",
      "checked": "2026-10-08",
      "notes": [
        "The Google APIs Terms of Service (last modified 9 November 2021) name Google LLC, 1600 Amphitheatre Parkway, Mountain View.",
        "RDAP for google.com gives a registration date of 1997-09-15.",
        "www.google.com/.well-known/security.txt expires on 1 April 2030 and lists a contact, an encryption key and the vulnerability reward policy.",
        "The quota and scopes pages were last updated on 10 September 2026, the MCP setup guide on 18 September and the MCP reference on 21 July.",
        "Google publishes a discovery document for the API, not an OpenAPI spec.",
        "The Workspace status dashboard tracks the Gmail product, not the API on its own."
      ],
      "score": 94,
      "checks": [
        {
          "check": "Legal entity named",
          "value": "Google LLC",
          "points": 20,
          "max": 20,
          "state": "ok"
        },
        {
          "check": "Domain age",
          "value": "google.com, registered 1997-09-15 (29 years)",
          "points": 15,
          "max": 15,
          "state": "ok"
        },
        {
          "check": "Endpoint on the vendor's domain",
          "value": "gmail.googleapis.com",
          "points": 15,
          "max": 15,
          "state": "ok"
        },
        {
          "check": "Terms of service",
          "value": "read, states 6 of the 7 things a reader expects, and has 1 clause that costs points",
          "points": 7.1,
          "max": 10,
          "state": "part"
        },
        {
          "check": "Privacy policy",
          "value": "read, states 7 of the 8 things a reader expects, and has 1 clause that costs points",
          "points": 7.3,
          "max": 10,
          "state": "part"
        },
        {
          "check": "Status page",
          "value": "www.google.com/appsstatus/dashboard",
          "points": 10,
          "max": 10,
          "state": "ok"
        },
        {
          "check": "Changelog",
          "value": "published",
          "points": 10,
          "max": 10,
          "state": "ok"
        },
        {
          "check": "security.txt",
          "value": "valid",
          "points": 10,
          "max": 10,
          "state": "ok"
        }
      ],
      "policies": [
        {
          "kind": "terms",
          "url": "https://developers.google.com/terms",
          "state": "read",
          "readAt": "2026-10-08",
          "statedDate": "2021-11-09",
          "words": 3831,
          "points": 7.1,
          "max": 10,
          "expected": [
            {
              "key": "terms.date",
              "label": "Gives the date it was last updated",
              "found": true,
              "quote": "Last modified: November 9, 2021 (see previous version)",
              "says": "Last updated 2021-11-09"
            },
            {
              "key": "terms.law",
              "label": "Names the governing law or courts",
              "found": true,
              "quote": "Except as set forth below: (i) the laws of California, U.S.A., excluding California's conflict of laws rules, will apply to any disputes arising out of or related to the Terms or the APIs and (ii) ALL CLAIMS ARISING OUT OF OR RELATING TO THE TERMS OR THE APIS WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURT…",
              "says": "The law of California, with disputes in the courts of Santa Clara County, California"
            },
            {
              "key": "terms.liability",
              "label": "States a limit on its liability",
              "found": true,
              "quote": "…ITS SUPPLIERS AND DISTRIBUTORS, FOR ANY CLAIM UNDER THE TERMS, INCLUDING FOR ANY IMPLIED WARRANTIES, IS LIMITED TO THE AMOUNT YOU PAID US TO USE THE APPLICABLE APIS (OR, IF WE CHOOSE, TO SUPPLYING YOU THE APIS AGAIN) DURING THE SIX MONTHS PRIOR TO THE EVENT GIVING RISE TO THE LIABILITY.",
              "says": "Capped at the fees paid in the 6 months before the claim"
            },
            {
              "key": "terms.termination",
              "label": "Says how the agreement or account can be ended",
              "found": true,
              "quote": "Google may suspend access to the APIs by you or your API Client without notice if we reasonably believe that you are in violation of the Terms."
            },
            {
              "key": "terms.changes",
              "label": "Says how changes to the terms are announced",
              "found": true,
              "quote": "We'll post notice of modifications to the Terms within the documentation of each applicable API, to this website, and/or in the Google developers console.",
              "says": "Says it gives notice of a change"
            },
            {
              "key": "terms.use",
              "label": "Lists what users may not do",
              "found": true,
              "quote": "You may not use the APIs and may not accept the Terms if (a) you are not of legal age to form a binding contract with Google, or (b) you are a person barred from using or receiving the APIs under the applicable laws of the United States or other countries including the country in which you are resident or from which y…"
            },
            {
              "key": "terms.sla",
              "label": "Refers to a service level or uptime commitment",
              "found": false
            }
          ],
          "toKnow": [
            {
              "key": "terms.automated",
              "label": "Restricts automated access",
              "found": true,
              "quote": "Scrape, build databases, or otherwise create permanent copies of such content, or keep cached copies longer than permitted by the cache header;",
              "costsPoints": true
            },
            {
              "key": "terms.cutoff",
              "label": "Says access can be ended without notice or for any reason",
              "found": true,
              "quote": "Google reserves the right to terminate the Terms with you or discontinue the APIs or any portion or feature or your access thereto for any reason and at any time without liability or other obligation to you."
            },
            {
              "key": "old",
              "label": "Has not been updated for three years or more",
              "found": true,
              "quote": "Last modified: November 9, 2021 (see previous version)"
            }
          ],
          "notes": [
            {
              "date": "2026-10-08",
              "text": "Content submitted through the APIs is licensed to Google on a perpetual, irrevocable and sublicensable basis, for the stated sole purpose of enabling Google to provide, secure and improve the APIs.",
              "quote": "For the sole purpose of enabling Google to provide, secure, and improve the APIs (and the related service(s)) and only in accordance with the applicable Google privacy policies, you give Google a perpetual, irrevocable, worldwide, sublicensable, royalty-free, and non-exclusive license to Use content"
            },
            {
              "date": "2026-10-08",
              "text": "A developer may not misrepresent or mask its own identity or the identity of its API client when using the APIs or developer accounts.",
              "quote": "You will not misrepresent or mask either your identity or your API Client's identity when using the APIs or developer accounts."
            },
            {
              "date": "2026-10-08",
              "text": "Google may use the developer's company or product name, and screenshots or video of its API client, when promoting or demonstrating the APIs.",
              "quote": "In the course of promoting, marketing, or demonstrating the APIs you are using and the associated Google products, Google may produce and distribute incidental depictions, including screenshots, video, or other content from your API Client, and may use your company or product name."
            }
          ]
        },
        {
          "kind": "privacy",
          "url": "https://policies.google.com/privacy",
          "state": "read",
          "readAt": "2026-10-08",
          "statedDate": "2026-10-01",
          "words": 14332,
          "points": 7.3,
          "max": 10,
          "expected": [
            {
              "key": "privacy.date",
              "label": "Gives the date it was last updated",
              "found": true,
              "quote": "Effective October 1, 2026 | Archived versions | Download PDF",
              "says": "Last updated 2026-10-01"
            },
            {
              "key": "privacy.collected",
              "label": "Says what personal data is collected",
              "found": true,
              "quote": "This Privacy Policy is meant to help you understand what information we collect, why we collect it, and how you can update, manage, export, and delete your information."
            },
            {
              "key": "privacy.retention",
              "label": "Says how long data is kept",
              "found": true,
              "quote": "The types of location data we collect and how long we store it depend in part on your device and account settings."
            },
            {
              "key": "privacy.processors",
              "label": "Says who else receives the data",
              "found": true,
              "quote": "For example, we use service providers to help operate our data centers, deliver our products and services, improve our internal business processes, and offer additional support to customers and users."
            },
            {
              "key": "privacy.sale",
              "label": "Says whether personal data is sold or shared for advertising",
              "found": true,
              "quote": "If Google is involved in a merger, acquisition, or sale of assets, we’ll continue to ensure the confidentiality of your personal information and give affected users notice before personal information is transferred or becomes subject to a different privacy policy."
            },
            {
              "key": "privacy.rights",
              "label": "Says what rights people have over their data",
              "found": true,
              "quote": "If European Union or United Kingdom data protection law applies to the processing of your information, you can review the European requirements section below to learn more about your rights and Google’s compliance with these laws."
            },
            {
              "key": "privacy.contact",
              "label": "Gives a privacy contact",
              "found": true,
              "quote": "And if you have any questions about this Privacy Policy, you can contact us."
            },
            {
              "key": "privacy.transfers",
              "label": "Says where data is transferred or stored",
              "found": false
            }
          ],
          "toKnow": [
            {
              "key": "training",
              "label": "Says it may use customer content to train or improve models, and no opt-out was found",
              "found": true,
              "quote": "We use your interactions with AI models and technologies like Gemini Apps to develop, train, fine-tune, and improve these models to better handle your requests, and update their classifiers and filters including for safety, language understanding, and factuality.",
              "costsPoints": true
            }
          ],
          "notes": [
            {
              "date": "2026-10-08",
              "text": "Members of organisations using Google Workspace or Google Cloud Platform are referred to the separate Google Cloud Privacy Notice for how those services collect and use personal information.",
              "quote": "If you’re a member of an organization that uses Google Workspace or Google Cloud Platform, learn how these services collect and use your personal information in the Google Cloud Privacy Notice."
            },
            {
              "date": "2026-10-08",
              "text": "Google says it uses publicly available information from the web and other public sources to help train machine learning models behind products such as Google Translate, Gemini Apps and Cloud AI.",
              "quote": "We use publicly available information online or from other public sources to help train new machine learning models and build foundational technologies that power various Google products such as Google Translate, Gemini Apps, and Cloud AI capabilities."
            }
          ]
        }
      ]
    },
    "pageJsonUrl": "https://www.anchorterminal.com/tools/gmail-api.json",
    "live": {
      "slug": "gmail-api",
      "probe": {
        "target": "https://gmail.googleapis.com/gmail/v1",
        "method": "get",
        "lastAt": "2026-10-08T18:20:30.720953163Z",
        "lastOk": true,
        "lastStatus": 404,
        "lastMs": 35,
        "authRequired": false,
        "uptime24h": 100,
        "uptime30d": 100,
        "p50ms24h": 42,
        "p95ms24h": 121,
        "samples24h": 33,
        "samples30d": 33,
        "days": [
          {
            "date": "2026-10-08",
            "probes": 33,
            "ok": 33
          }
        ]
      },
      "vendorStatus": {
        "page": "https://www.google.com/appsstatus/dashboard",
        "indicator": "unknown",
        "summary": "no machine-readable status found",
        "checkedAt": "2026-10-08T17:50:42.964370842Z"
      },
      "versions": [
        {
          "registry": "github",
          "name": "googleapis/google-api-nodejs-client",
          "version": "agentidentity-v3.2.0",
          "released": "2026-10-07",
          "seenAt": "2026-10-08T16:13:22.81620133Z"
        },
        {
          "registry": "npm",
          "name": "@googleapis/gmail",
          "version": "22.0.1",
          "seenAt": "2026-10-08T16:13:19.417774829Z"
        },
        {
          "registry": "pypi",
          "name": "google-api-python-client",
          "version": "2.201.0",
          "released": "2026-09-30",
          "seenAt": "2026-10-08T16:13:22.705637846Z"
        }
      ],
      "githubStars": 12263,
      "npmWeekly": 1091106,
      "securityTxt": {
        "url": "https://google.com/.well-known/security.txt",
        "state": "valid",
        "expires": "2030-04-01T00:00:00z",
        "checkedAt": "2026-10-08T15:38:39.75078566Z"
      },
      "pages": [
        {
          "url": "https://developers.google.com/workspace/gmail/release-notes",
          "kind": "changelog",
          "status": 200,
          "checkedAt": "2026-10-08T18:17:53.385163156Z",
          "changedAt": "0001-01-01T00:00:00Z",
          "fingerprint": "4656378123eb"
        },
        {
          "url": "https://developers.google.com/terms",
          "kind": "terms",
          "status": 200,
          "checkedAt": "2026-10-08T18:17:49.55137795Z",
          "changedAt": "0001-01-01T00:00:00Z",
          "fingerprint": "2eb11136bf24"
        }
      ],
      "updatedAt": "2026-10-08T18:20:30.720953163Z"
    }
  }
}
