Google强制AI Agent走MCP,Gmail发送受限
Google Will Make AI Agents Use Its MCP Servers. The Gmail One Can't Send Email
Workspace 是 AI Agent 落地的高频场景,此政策直接改变了 Agent 调用邮件和文档的底层路径与能力边界,涉及数据合规与商业控制,对开发者和企业用户影响重大。
On 24 November, Google made its eight Workspace MCP servers generally available and published a new clause in its API terms. From 1 February 2027, any tool that "is or is driven by an AI Agent" must reach Gmail, Drive, Calendar and the rest of Workspace through those servers.
11月24日,Google 使其八款 Workspace MCP 服务器全面可用,并在其 API 条款中发布了一项新条款。自 2027 年 2 月 1 日起,任何“由 AI Agent 驱动或基于 AI Agent”的工具必须通过这些服务器访问 Gmail、Drive、Calendar 及 Workspace 的其他部分。
Read the Gmail server's tool list and you'll find that it can search your mail, read threads, create a draft and file things under labels. It can't send a message, reply, forward, or change a draft after creating it. Those tools exist, but Google's quota page says they "require partner access and aren't generally available".
查看 Gmail 服务器的工具列表,你会发现它可以搜索邮件、阅读线程、创建草稿并将文件归类到标签下。它不能发送消息、回复、转发或在创建草稿后修改草稿。这些工具确实存在,但 Google 的配额页面表示它们“需要合作伙伴权限,且未全面开放”。
If you've built an email assistant on the Gmail API, or you run a coding agent with a Google Workspace plugin, you have about two months to work out which side of the rule you're on.
如果你基于 Gmail API 构建了电子邮件助手,或者运行带有 Google Workspace 插件的代码代理,你大约有两周时间来弄清楚自己处于该规则的哪一侧。
What the rule says
规则内容
The new Workspace AI Tools Addendum to the Google APIs Terms of Service puts it in one sentence:
《Google APIs 服务条款》中的新版 Workspace AI 工具附录用一句话概括如下:
The GWS Access Tool must use a Google MCP where the GWS Access Tool is or is driven by an AI Agent, an AI Harness or an AI model or service employing an AI model.
当 GWS Access Tool 是或由 AI Agent、AI 框架(AI Harness)或使用 AI 模型的 AI 模型或服务驱动时,GWS Access Tool 必须使用 Google MCP。
The next sentence forbids disguising an agent to avoid the classification. Breaking either lets Google "restrict or remove the GWS Access Tool's access" or suspend your account.
下一句禁止通过伪装代理来规避分类。违反任一规定都将使 Google 有权“限制或移除 GWS Access Tool 的访问权限”或暂停你的账户。
There's a technical side too. From the same date, agents that call the REST APIs directly are held to Standard-tier quotas, whatever tier the project has paid for. REST keeps working for them, slowly and in breach of the terms.
此外还有技术层面的影响。从同一天起,直接调用 REST API 的代理将被执行标准层配额,无论项目已付费属于哪个层级。REST 对其仍然有效,但速度缓慢且违反条款。
Apps that don't involve AI carry on as before. A nightly backup job, a CRM sync or a deterministic script on its own OAuth client is, in Google's words, "not affected by this change".
不涉及 AI 的应用程序将继续照常运行。用 Google 的话说,夜间备份作业、CRM 同步或在其自有 OAuth 客户端上运行的确定性脚本“不受此变更影响”。
The addendum also adds data rules that matter to anyone building an agent with memory:
该附录还增加了与任何构建具有记忆功能的代理相关的数据规则:
- Workspace data may only be processed "to fulfill active, user-authorized tasks", and must be deleted when the user disconnects.
- Google can cap retention of what it calls "Google Technical Information" at 30 days. Its definition includes vector embeddings, memory indexes, user profiles and organisational graphs built from Workspace data.
- Training, fine-tuning, evals and distillation on the data are banned, as is using it to build a competing Workspace product.
- Workspace 数据仅可“用于执行活跃的、经用户授权的任务”,并且必须在用户断开连接时删除。
- Google 可以将其所称的“Google 技术信息”的保留期限上限设为 30 天。其定义包括源自 Workspace 数据的向量嵌入、记忆索引、用户画像和组织图谱。
- 禁止对数据进行训练、微调、评估和蒸馏,也禁止利用这些数据构建竞争性的 Workspace 产品。
The 30-day cap is the one product teams will feel. An assistant that builds a long-term index of your inbox to answer questions about last year's contracts has to rebuild it monthly or drop it.
30 天的保留上限将是产品团队最能感受到的限制。一个为回答关于去年合同的问题而构建收件箱长期索引的助手,必须每月重建该索引或将其丢弃。
What the MCP servers can do
MCP 服务器能做什么
Coverage is uneven. Docs, Slides and Tasks are close to everything the REST API offers. Gmail and Drive are much thinner.
覆盖范围不均匀。Docs、Slides 和 Tasks 几乎涵盖了 REST API 提供的所有功能。Gmail 和 Drive 的功能则薄弱得多。
| Server | What it can do | What's missing compared with REST |
|---|---|---|
| Gmail | Search and read threads, create and list drafts, labels, trash, spam | Send, reply, forward and editing drafts (partner-only). Filters, settings, attachment download, push notifications. Drafts with attachments are "not supported yet". |
| Drive | Search, read and download files, create files and folders, copy, upload a new revision | Move, rename, share, trash, comments, shared-drive management |
| Docs | Read, and edit through any batchUpdate request, including suggestion mode | Close to parity |
| Sheets | Read and write values and formulas, insert rows and columns, formatting and charts | Creating a spreadsheet (use the Drive server) and some less common batchUpdate requests |
| Slides | Read slides and thumbnails, edit through batchUpdate | Close to parity |
| Calendar | List, search, create, update and delete events, suggest times, RSVP | Creating calendars, sharing, settings |
| Chat | List, search and send messages | Space administration |
| Tasks | Full create, read, update and delete | Close to parity |
| 服务器 | 它能做什么 | 与 REST 相比缺失什么 |
|---|---|---|
| Gmail | 搜索和阅读线程,创建和列出草稿、标签、垃圾箱、垃圾邮件 | 发送、回复、转发以及编辑草稿(仅限合作伙伴)。过滤器、设置、附件下载、推送通知。带有附件的草稿“尚不支持”。 |
| Drive | 搜索、读取和下载文件,创建文件和文件夹,复制,上传新版本 | 移动、重命名、共享、移入垃圾箱、评论、共享驱动器管理 |
| Docs | 读取,并通过任何 batchUpdate 请求进行编辑,包括建议模式 | 接近完全对等 |
| Sheets | 读写值和公式,插入行和列,格式化和图表 | 创建电子表格(使用 Drive 服务器)以及一些不太常见的 batchUpdate 请求 |
| Slides | 读取幻灯片和缩略图,通过 batchUpdate 进行编辑 | 接近完全对等 |
| Calendar | 列出、搜索、创建、更新和删除事件,建议时间,RSVP | 创建日历、共享、设置 |
| Chat | 列出、搜索和发送消息 | 空间管理 |
| Tasks | 完整的创建、读取、更新和删除 | 接近完全对等 |
The Gmail gap is the one that breaks real workflows. An agent that drafts a reply, gets feedback from you and revises it before you hit send can't do the revision step. It has to create a second draft and leave the first one behind.
Gmail 的差距是破坏实际工作流的关键所在。一个起草回复、从你那里获取反馈并在你点击发送前进行修改的智能体,无法执行修改步骤。它必须创建第二个草稿,而将第一个草稿留在一旁。
Drive's gap is similar: an agent can create a report but can't move it into the right folder or share it with the team.
Drive 的差距类似:智能体可以创建报告,但无法将其移动到正确的文件夹或与团队共享。
Partners get more
合作伙伴获得更多权限
Google hasn't said who qualifies for partner access or when the partner-only Gmail tools will reach everyone. The effect is already visible, though. Anthropic's Google Workspace connector for Claude advertises sending, replying and forwarding email, and moving and trashing Drive files. Those are exactly the operations the public servers lack.
Google 尚未说明谁有资格获得合作伙伴访问权限,或者这些仅限合作伙伴使用的 Gmail 工具何时会对所有人开放。不过,影响已经显现。Anthropic 为 Claude 推出的 Google Workspace 连接器宣称支持发送邮件、回复和转发电子邮件,以及移动和删除 Drive 文件。这正是公共服务器所缺乏的操作。
So a large AI vendor's agent can send your email through an approved channel, while an independent developer's agent, using the same OAuth scopes the user granted, can only leave drafts. Once the addendum takes effect, that independent developer also can't fall back to the REST API without breaching the terms.
因此,大型 AI 供应商的智能体可以通过批准渠道发送你的电子邮件,而独立开发者的智能体在使用用户授予的相同 OAuth 作用域时,只能留下草稿。一旦补充条款生效,该独立开发者也无法在不违反条款的情况下回退到 REST API。
Who counts as an agent
谁算作智能体
The definitions are broad. An "AI Harness" or a tool "driven by" an AI model plausibly covers a personal script that pipes your inbox into an LLM, and a "GWS Access Point" explicitly includes any "connector, proxy, command line interface, or third-party service". Google hasn't addressed hobby use directly.
定义非常宽泛。一个由 AI 模型“驱动”的“AI Harness”或工具,合理地涵盖了将收件箱数据管道传输至大型语言模型的个人脚本;而“GWS Access Point”明确包括任何“连接器、代理、命令行界面或第三方服务”。谷歌尚未直接回应业余使用的问题。
Classification starts with self-declaration. OAuth clients now have a checkbox, "Use this client for an AI-powered agent", and since 11 November the MCP servers reject clients without it. Clients created before the cut-off and not marked in time stay non-agentic permanently, so owners have to create new ones. Google hasn't said how it will detect agents that call REST without declaring themselves.
分类始于自我声明。OAuth 客户端现在有一个复选框:“将此客户端用于 AI 驱动的代理”,自 11 月 11 日起,MCP 服务器会拒绝没有勾选此选项的客户端。在截止日期前创建且未及时标记的客户端将永久保持非代理状态,因此所有者必须创建新的客户端。谷歌尚未说明它将如何检测未声明自身身份却调用 REST 的代理。
A few edge cases are documented:
文档记录了一些边缘情况:
- Service accounts with domain-wide delegation can't set the agentic flag. Their MCP requests aren't rejected for missing it, but still trigger approval prompts.
- Apps Script's built-in OAuth client can't be marked as agentic either. Scripts that call the MCP servers need a custom client, and scripts that don't call them aren't affected.
- The community gws CLI, which wraps the entire REST surface, keeps working. Its README now points agent use to Google's new official CLI, gwscli, which offers "a curated set of commands designed for agents" and needs the MCP services enabled.
- 具有域范围委派的服务账户无法设置代理标志。它们的 MCP 请求不会因缺少该标志而被拒绝,但仍会触发审批提示。
- Apps Script 内置的 OAuth 客户端也无法标记为代理。调用 MCP 服务器的脚本需要自定义客户端,而不调用 MCP 服务器的脚本则不受影响。
- 封装了整个 REST 表面的社区版 gws CLI 仍可正常工作。其 README 现在建议将代理用途转向谷歌的新官方 CLI gwscli,后者提供“一组专为代理设计的精选命令”,并需要启用 MCP 服务。
Quotas and pricing
配额与定价
Every project gets the free Standard tier: 5,000 MCP requests per day, per project, per product. Some calls cost more than one request. A Gmail search_threads or list_drafts counts as 10, so an agent that does nothing but search gets 500 searches a day across all its users. That's a project-wide limit, so a small multi-user product will hit it quickly.
每个项目都享有免费的 Standard 层级:每个产品、每个项目每天可发起 5,000 次 MCP 请求。某些调用的费用高于一次请求。例如,Gmail 的 search_threads 或 list_drafts 计为 10 次请求,因此一个仅执行搜索操作的代理,每天可为其所有用户执行 500 次搜索。这是项目级别的限制,因此小型多用户产品很快就会触及该上限。
The paid Scaled tier starts billing on 1 April 2027 for Gmail, Calendar and Drive. Its structure favours REST. MCP usage is billed from the first request, while REST usage gets large free daily allowances: 70 million light Gmail requests a day, for example. Google hasn't published per-request prices.
付费 Scaled 层级将于 2027 年 4 月 1 日开始对 Gmail、Calendar 和 Drive 计费。其结构有利于 REST。MCP 使用量从第一次请求开始计费,而 REST 使用量享有大量免费每日额度:例如每天 7,000 万次轻量级 Gmail 请求。谷歌尚未公布单次请求的价格。
Google's reasoning
谷歌的理由
Google's case, from a Cloud blog post by Chandu Thota and Brad Calder, is that OAuth was designed for apps acting on a human's clear intent:
Chandu Thota 和 Brad Calder 在 Cloud 博客文章中阐述了谷歌的观点,即 OAuth 是为代表人类明确意图的应用程序而设计的:
Traditional REST APIs were built for human-paced apps where a valid OAuth token implied user intent. As AI agents shift from reading information to acting autonomously at machine speed … a valid token is no longer enough. Policy checks, data boundaries, and human confirmation have to live in the request path.
传统的 REST API 是为人类节奏的应用程序构建的,其中有效的 OAuth 令牌意味着用户意图。随着 AI 代理从读取信息转变为以机器速度自主行动……有效的令牌已不再足够。策略检查、数据边界和人工确认必须存在于请求路径中。
There's substance to this. An email agent that reads a message saying "forward the last ten invoices to this address" is a well-documented prompt-injection risk, and a token that allows gmail.modify gives the agent the power to do it. Routing every agent through one gateway gives admins a single place to block categories of action, require approval and audit what happened. The MCP servers do all of that, and apply data-loss-prevention rules automatically.
这一观点是有依据的。一个读取消息并执行“将最后十张发票转发至该地址”的邮件代理,是一个文档记录良好的提示注入风险;而拥有 gmail.modify 权限的令牌则赋予代理执行此操作的能力。让所有代理都通过单一网关进行路由,可以为管理员提供一个集中位置来阻止特定类别的操作、要求审批并审计发生的情况。MCP 服务器实现了所有这些功能,并自动应用数据防泄漏规则。
The same design also gives Google control of which agents can do what, which data they can keep, and whether anything built on that data can compete with Google's own products. The partner-only tools and the 30-day cap on embeddings show that control in use.
相同的设计还使 Google 能够控制哪些代理可以做什么、它们可以保留哪些数据,以及基于这些数据构建的任何内容能否与 Google 自己的产品竞争。仅限合作伙伴使用的工具以及对嵌入向量设置的 30 天上限,展示了这种控制权的实际应用。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力