hckrnws
Google Will Make AI Agents Use Its MCP Servers. The Gmail One Can't Send Email
by ritzaco
by ritzaco
So if you want to use SMTP but haven't done so until now I suggest you start enabling it to "warm up" their spam detector.
I would work inside Sheets so much more if they fixed this. Instead I mostly use Sheets through Claude Code via the Sheets API.
[dead]
Makes me wonder whether they don't want me doing this at all, which sucks because I built the app for Google Cloud and Gemini. Sigh.
So yes, your agent doesn’t need an MCP to send emails when it can just use an existing protocol.
Folks who care about security will push Gmail to have an MCP task to send email.
People who don't care about security will either use the API or the browser, as you mention. But the first time an agent is prompt injected and substantially harms someone (esp someone famous or notable), it will be front page news.
The theoretical risk seems huge, and the 'payoff' the same impacts that drive aggressive and sophisticated ransomware etc campaigns so why is not clear. Maybe people are just keeping quiet but the tenor the security industry doesn't seem to be mapping to the real world in this case and why isn't clear.
There’s nothing stopping the client side from auto approving right?
I’m fairly sure the reason for this is to prevent automated abuse
I think they just updated it because when I checked yesterday it didn't just like this article says.
Are there any good alternatives for personal and business use cases (email/drive/docs)?
I'd appreciate any advice.
My employer started switching their APIs to usage based pricing a couple of years ago but has really hammered working on extending that this year. Want to extract information? Sure, you can do it, but it is going to cost you a lot of money, and if you try and do it through the client then you’ll get your account suspended for breaking the Ts and Cs. Clients are corporates so they aren’t going to risk being sued.
* large providers have their own access, like the verified public apps of yesteryear, and at least the Claude connector does include sending (and some other stuff) above this,
* users of self-hosted setups can easily wrap their sending calls in SMTP or whatever.
The only real limit is the 5k requests which... just seems fair.
Are there any agent-friendly alternatives to Docs and Drive? Or do I need to create one?
So I'm not surprised it's understood as such, even when it's conflated with impersonation (acting on behalf of another by using that other's identity).
--
But now I have so many issues and bugs, or outcomes which get stuck or are wrong. My expectations have increased for sure.
I don’t know a solution, but I am getting integration fatigue. Call me crazy, but I don’t know that I need this level of automation for most things, esp. when the automation simply doesn’t work.
https://blog.google/innovation-and-ai/models-and-research/go...
Something similar in X, where they have limits on how you can use tweets, eg, sharing generally must be by ID, not hydrated tweet.
Scummy and type of open competition I'd like congress to legislate, they are 1-2 decades behind now.
As others have said, trying to work around this with SMTP Gmail will likely get your entire Google Account banned, possibly for months or longer before you can get it back.
I can't imagine the need to use their MCP servers, nor why people are so upset. You can use IMAP to download your emails and have your cake too.
I want my agent/LLM to be able to read and send emails to domains I approve of. But email services don't allow delegated access like this.
So it's roundcube and local email time.
But self-hosting email then puts you in SPF/DKIM/DMARC hell and wheverver LookOut and Gmail decide to silently delete your incoming emails.
How I've been using agents is by creating a 'llmuser' account and giving appropriate access to that account. That includes on my router and other places on my network. I've still yet to figure out how to delegate appropriate access to limit badness for logged in webservices.
Our MCP server continues to be available for all (no "partner only" tools), and if you want to do something even more powerful, agents are pretty good at whipping up code to connect to our full JMAP API…
[dead]
[dead]
[dead]
Rclone has its own built in client_id for Google Drive (and Photos) to make it easy for users to use rclone, which I've jumped through many hoops of fire to keep working over the years.
However unless we move to the "Scaled" pricing model discussed in the article we'll have to accept rate limiting. The Google cost estimator says the "Scaled" pricing model would cost us $130k/month which is a little out of budget for an open source project ;-)
The consequence will be that anyone not using their own client_id with rclone and Google Drive will be rate limited to a very small (most likely unusable) amount) as we are something like 400x over quota.
We have been advising users to make their own client_ids for years, but it is quite a long and annoying process even if you don't want to provide public access to it and honestly I don't know why it is needed. The client_id identifies rclone, the user is perfectly well identified so why bother making client_ids so annoying to use?
Google also haven't figured out what to do about people enrolled in the Advanced Protection Program who can't make their own client_id's. Rclone's built in one is whitelisted for the program.
I suspect a lot of rclone users will be rather unhappy on 1st April 2027 (great cutoff date!) when their transfers to Google Drive stop working at any sane speed.
Al Smith
AI agent writer at Ritza
Al Smith is the byline for every TechStackups article written by an AI agent. Al's articles are researched and drafted by agents at Ritza, then reviewed by a human editor before publication.
Hm, still...My current take is that AI is actually really good at 'round-up' style content. It can read through 100 articles, find the most interesting excerpts and tie it together into an article I want to read (yes, I read them before submitting them)
It still is quite bad at other forms of content, and the cliches annoy me, but I love how quickly it can find me relevant information and put it in one place.
> [You may not] retain any user data obtained via GWS Access Tools or any Google Technical Information after you have disconnected the GWS Access Tool or revoked its access to the GWS Access Point(s);
N.b. this is for any access tool, not just AI.
This kills a whole bunch of products. No backup product can use the API, I can't connect my email to my accounting package and say 'please keep these receipts / documents safe for me' via the API.
"Google Technical Information" is essentially any derived information.
In essence your emails are no longer yours with this policy.
Add a local LLM aas well and you have just broken the wall…
All my data came over (131000 emails covering 22ish years, all my labels, and allll the attachments)
Search works
Spam blocking doesn't catch all the spam and phishing emails I get (maybe only 95%). Luckily it's easy to mark as spam. And the app helps by being fast. No swish animation, no rainbow celebration animations affirming your ability to tap the screen, no achievement unlocked, no kablingynoise. It just marks the email as spam and puts you back at your inbox with one less email.
They even let you make disposable email addresses that route to your inbox, for hiding your real email address. They have per-app passwords.. all the calendar integrations and exports you'll need, all the mail filtering you'd expect.. all of Gmail's subtlest features you've come to depend on over the years. They're all there, and the app is FAST.
Updates to Fastmail's iOS app are like 17mb. Did I mention it? the app is fast.
Also they don't pull dumb crap like putting a sparkle button strategically so you accidentally hit it then urgently wonder what is the quickest way to fuck this god damn "welcome to our AI!" off so you can do what you wanted to do. Nope. Just emails, 24/7. Helloooo Gmail? Is there a setting "hide stupid sparkle button so I don't tap it by mistake"? Hello? You respect your paying customers, right?
Fastmail so far does not pop over your inbox when you open it with HALLOWEEN SPECIAL OFFER 10% OFF that you have to dismiss to do what you came here to do. You just get to go straight to your inbox. It's actually jarring; you have to check it actually has loaded and is ready to accept input
It's just a really really good email service with great equivalents for all the nooks and crannies and micro pleasantries you loved about Gmail. Made by people who care, people who "get" why you are stuck on Gmail.
But it also has really really good migration tooling, and costs roughly the same as a single G Suite seat. And it's FAST.
Could not recommend it more highly
No affiliation with Fastmail just a happy paying customer
what is everything even doing in those servers, it's almost like there's just a ball game being played internally there where things are pointlessly moving from one redundant highly available node to another so that numbers can be shared in a presentation and the game can keep on playing
> You may not...
>
> Use any user data or Google Technical Information to develop a product or service that is similar to a GWS Service.
In the list of prohibited activities is... this. As they add more AI functionality to the surface, I can't help but wonder what this prohibits you doing against Google services!> Apr 1, 2027 — Billing & Standard Quota Enforcement Workspace begins enforcing Standard Tier limits across all existing projects, and Scaled Tier billing begins for projects opting into higher limits.
Your agents will be tolled to access the same features that you would get for free normally.
Prodigy Will Make Users Use Its Forums. They dont work with www or usenet.
"No you can't use your own Claude/ChatGPT/Whatever to look on Amazon/read your Gmail. You need to use our crippled MCP server or our own shitty LLM."
[deleted]
- I don't see on what right (except their bully position) they could impose to not use the API if ever you have a specific usage (AI in that context). MCP is nice but API call should be transparent to them on what for you use them.
- "Training, fine-tuning, evals and distillation on the data are banned, as is using it to build a competing Workspace product." -> Some wtf, you are not allowed to do fine tuning or distillation on your own emails or data ...
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
A lot of anti-spam heuristics at the sending end are based on changes in behaviour that may occur when an account is hacked or otherwise repurposed.
How does that work? GDPR is a law about data privacy, not a legal right to be served by a private company. What part of GDPR allowed you to get it back?
The blog post: https://7c0h.com/blog/new/lost_gmail_ii.html
> The data subject shall have the right not to be subject to a decision based solely on automated processing, including profiling, which produces legal effects concerning him or her or similarly significantly affects him or her.
If an automated system flags an account, EU residents have a right to have a human take a look.
Even with a consumer account, SMTP is not a good way to do this. Script a mail merge as described in: https://developers.google.com/apps-script/samples/automation...
[deleted]
GMail might just not be a good mail provider. Europe is backwards on many things digital, but for mail the picked the correct way.
I've switched to other providers for everything (I no longer have a Google or Apple or Meta accounts, and I back everything up locally) and I sleep much better that way.
BTW, isn't that 4 months delay longer than the maximum allowed by GDPR? IIRC a recipient of a GDPR data access request has a maximum delay of 1 month to acknowledge it and request an extension, and has maximum 3 months to comply
It requres some sophisticated OAuth these days.
I wanted to use SMTP for automated notifications from my home monitoring system, and it was _easier_ to build a freaking Telegram bot rather than just setting up SMTP.
I can create a custom OAuth application but then it needs to pass Google's review. I don't believe that I can add trust for a custom one-off app in a regular Google account.
Most inboxes are small enough that you can index them properly locally with some vector database and treat them as a little rag knowledge base. Downloading your email locally is of course nothing new, it's what email clients have been doing for decades.
It's not quite as bad a misallocation of capital as Zuckerberg doing VR, but it's pretty damn close.
What a waste.
The hallucination i get from Search interactions reminds me of models more than a year old at this point.
> Gemini isn't a model.
Gemini is a model family and product brand, as far as I know.
The latest is Gemini 4 Neon, released Nov 2026.
[dead]
Ouch. You went wrong early. My experiences with Google Cloud have been so horrible I wouldn't use it even at a huge discount.
Why would a thing using standard protocols need a bespoke MCP? Either give it a MCP for the protocol or network access?
There have been several companies who admitted that they stopped using website chatbots, for example, because users were extremely creative with using it to hallucinate discounts, to leak internal documents, and generally to use it for free LLM output unrelated to the website. All of these would be considered "prompt injection".
You seem to care about some extremely high severity prompt injection. The Binance hackers used Binance's internal AI tool to describe the topology of the network and create a blueprint of sorts to identify how to extract the funds. It may not qualify as "prompt injection" in your mind, but a layer designed to resist malicious use (eg. Prompt injection) should probably have rejected those prompts.
From what I gather through a dumb RTO implementation that has me sitting in an area surrounded by our orgs security people who seem to do all their work in loud phone calls and Teams meetings, there’s a lot attributed to unexpected actions by AI agents and poor forensics around attributing those reliably to a more specific root cause.
Because they're nondeterministic and difficult to diagnose, and genuinely do cause enough of a problem rate for everyone to notice, everything can be blamed on them. But since they're not a human in the organization hierarchy, this doesn't threaten the organization. Additionally, AI has the backing of management, so the agent won't be removed no matter how many problems it causes. Everyone can happily keep going round in circles.
This is often the case for security-related things. People don't think about taking pictures of their keys or their boarding pass until there are news articles about it.
[deleted]
Putting those aside: I am sure you could save the Gmail HTML/JS locally, give it to an agent, and have a Gmail client in a day
Even putting LLMs aside, people have been doing this kind of thing for a long time. Reverse engineering is not new.
e.g. https://code.claude.com/docs/en/mcp#require-approval-for-a-s...
Automated abuse can/will always happen in some other forms: direct API calls, an agent or human in-browser, etc.
Do you mean that Google will only let an agent “read” but not “write” data?
[deleted]
Now, of course, gmail is free, so that really limits what you can complain about.
I suspect Google simply wants to limit the headaches related to the use of their product by automated systems, similar to CAPTCHAs. They will update the policy later if they find value in this as a business decision. More likely, they will offer it as a feature to users who exclusively use their Gemini subscription as opposed to 3rd party agents using a GMail account for arbitrary use.
So I'm just using a local IMAP provider (Mythic Beasts in UK). Thunderbird as the mail client. All files are local and LibreOffice Calc/Writer. If I need to share something it's a PDF only. If I need to take something with me, I take my laptop.
Haven't had any issues collaborating with anyone and it's secure, stable and private.
I use imap-backup to archive the mailboxes offline as a backup with the file backups.
https://support.claude.com/en/articles/16923645-get-started-...
2. Going from Google to Anthropic is a sidegrade as far as shitty companyness goes. They’re only a few years into their existence but Anthropic is already looking more like 2010 Google than 2002 Google.
And this is quite literally true, I discontinued my subscription and.. email forwarding is paid, proton bridge is paid. There is literally no way to escape without paying, my proton email is basically hijacked.
As another tip, only use your own domain for emails, as it's not something you can just change later on.
I have fallen out of love with Proton the company, but ProtonMail does seem to fulfill its promise of encryption of incoming email at the MTA and storing only the cipher text. And their jurisdiction means that would be snoops in government agencies have to get cross-international-boundary data warrants (if you’re not Swiss). This seems to me like a very reasonable trade between privacy and ability of government to investigate crimes.
They have well integrated PGP support; it’s not their fault that no one uses it.
If you turn on any of their indexing stuff then yeah, all bets are off.
Hate on their business practices, sure, but if you’re going to attack their tech stack then back it up with facts and explain how anyone could do it better.
Drive = a simple folder on a server, with WebDAV in front of it to allow random apps to store data.
Docs = Aforementioned folder, with LibreOffice.
Photos = Immich
[dead]
This is going the way that gaming anti-cheat has gone. You need root access to prevent automation on the machine… but that just pushes people to automate at the human UI level via KVM setups.
There is no much reason to have an agent that reads 0.2 email/s, one by one, is there? And if you still decide to have it for some reason, sure, we can serve it 1 lightweight request every 5 seconds, that's not a problem. The problem is that most agents don't have such use patterns, theirs are much more aggressive.
What are you on?
My email client simply fetches all messages, and from there on it's all offline.
The server wouldn't know how the emails are read.
That's, you know, how email has always worked. It doesn't require you to be online all the time.
In my eyes, this looks exactly like an anti-spam thing. And if you want to send email, you have to get qualified through them which lets them put up a bunch of barriers to try and stop spammers way easier than they could if they were playing whack-a-mole.
. . .
[dead]
[dead]
Well done sir.
It looks like it will end up as MCPs and on device MCP-like APIs acting under the user's identity, and therefore getting nerfed around potentially dangerous actions.
Gmail even has specific support for this, which it calls "delegation": https://support.google.com/mail/answer/138350
A: The agent can go much much faster.
So it's just rate limiting: exceed the rates they expect from humans and you must be an agent, meaning the human is breaking the terms and conditions, meaning Google has reason to ban them, meaning Google will ban them.
>A: The agent can go much much faster.
Faster than a script that queues a bunch of emails for sending?
Faster than an email client that sends emails from the outbox?
Inquiring minds want to know.
An ancient protocol for the modern age.
Stop using free email services like Gmail and Outlook, migrate to smaller, paid ones like Fastmail or whatever fancies your heart. These have a legit change to turn the ship around over time, if we really committed to use/pay for them.
Been a happy Fastmail customer since 4 years ago or so.
Same with the browser wars (I use Firefox, the only true independent engine, besides Ladybird and Safari).
Exactly my point, with enough users _over time_ Google will have no choice but to recognize the legitimacy of smaller (albeit growing) players.
Also, I see the sentiment of challenging Gmail's crown. Yesterday Matthew Prince hinted[0] if CloudFlare should create Cmail.
I know that Grok bot already has the concept of agentic email, and lets you have an auto-assigned email address for that.
--
Does this change threaten to stop that?
I think they aren't saying "if you want to email Gmail users from an agent you need to use our MCP to do it".
Are they not saying: if you want to develop an agent that operates Google Workspace on the user's behalf, these are the only ways you can do it.
There are also many reasons to want a CLI email client that are not for AI.
X is somewhat arguable in that it's other people's tweets, but similar to LI, caselaw has shown when it's public (not behind an auth gate), it's generally fair game
gmail makes little sense as it's the content owner wanting to do things with their content
[dead]
Gmail has gotten EXPENSIVE.
Now I'm trying to find a plan to escape Google that doesn't just leave me in the hands of a slightly different corporation I'll have to flee in a few more years. Self hosting email stinks, I did it for decades.
Do you have any more insights on that one? Was it overloading the servers for no good reason I guess? Did you just scan for tokens called "paperless*" or did you use some extra heuristic?
Yes, exactly that. As for why…
Paperless was absolutely hammering our server. The internal email thread about it began: "Every 10 minutes we see a massive outgoing network spike that's almost 3 times our normal bandwidth. What is going on there?"
Turned out paperless was downloading the entire contents of every single message in the account it's connected to (often GBs of data!) every 10 minutes. We run ludicrously powerful hardware and give ourselves capacity headroom so we could cope, but this was clearly broken behaviour and had the potential to impact other users. We added better per-user throttling to deal with it on our end, but also made sure that Paperless fixed this, and then wanted to ask people who looked like they might be using it to update. It will save you a ton of bandwidth and compute too.
Your MCP server is now a cornerstone of our busy life as parents of little kids. We use a shared calendar to keep on top of everything, and Claude has been managing it for the past few months, via your MCP.
Having my "assistant" summarise my most important email every morning has been very helpful.
I think I am getting close to dumping gmail altogether and if this becomes too restrictive, goodbye!
If you don't impose restrictions on your LLMs tool use that reallymshould be on you.
[dead]
Source: Im a paying customer since 2016.
[deleted]
Also it is pretty hard and confusing to make your own client_id, even tho I did it when I was setting it up.
Like what did I do... Make an "app" on a GCP project. Then go through the kerfuffle of weird verification bs and stuff. And i mean I just use the non-sensitive or whatevs gdrive perm and it still limits the "oauth app" to 100 activations.
They purposefully make it hard. And i would like to migrate off of gmail. But ugh idk.
Are you a bot or a real person? if the second just stop, we don't want to talk with software here.
[deleted]
Having an LLM suddenly send a high volume of emails through Gmail does fit the definition of spam. I don't think reviews will help much.
The parent said they were sending emails to volunteers in their organization- that is very much an example of “automated and not spam”. And “high volume” I would argue it was not.
Expected non-commercial mail that has a bit of mail merge in it doesn't hit that definition.
Gmail already has sends-per-minute limits in place to prevent the high volume thing.
A false positive shouldn't take four months and a legal threat to fix.
Where does it say that?
And are you saying the advice to use google's mail merge is completely wrong? Because that's sending the same emails and appears to be available to personal accounts.
And for a service like email there should be a legal requirement for bigger entities to allow for read only access to such accounts and forwarding of emails to another provider of choice after a suspension/ban.
And they aren't going to run out of 5 bucks half broken phones any time soon.
Because they use your data
Proton reads all incoming email from non-Proton addresses, before message is encrypted with what they call Zero-access encryption. Zero access then seems more like a marketing gimmick, since technically, Proton has already accessed the contents at least once?
Quoted from their website:
... when an email is sent from Gmail to Proton Mail, Proton’s servers can briefly read the message ... Proton then encrypts the email using the recipient’s public key, after which only the recipient can decrypt it and Proton no longer has access.
https://proton.me/learn/encryption/types-of-encryption/zero-...
So you ge a somewhat false sense of privacy for emails at large . All those password reset emails from various devices, emails from anyone not on Proton etc... all accessible by Proton. Optimistically to protect you.
Meanwhile, if you lose your Proton recovery phrase you're potentially locked out of all those emails forever...
Proton claims that their MTAs store the messages encrypted with a key for which they don’t possess the decryption key. This doesn’t seem like an unreasonable claim; this is a very well established pattern.
There is a window of time where for some messages they possess the plaintext of the message body that arrived at the MTA, and they make claims (I haven’t checked recently but was an early adopter and read them thoroughly when I first subscribed) that they don’t use that plaintext for business purposes and that they eliminate it from memory as fast as possible. Since I am not trying to defend myself against nation states, I’m willing to accept terms of service and implied contract as risk mitigation there.
If I capture the attention of Law Enforcement, then they can theoretically obtain orders to hand over logs, stored data, encryption keys, or (depending on jurisdiction), install or reconfigure systems to intercept plaintext prior to encryption. For this, I chose Proton because I live in the USA and my law enforcement agencies can’t skirt our fourth amendment with national security letters etc- they MUST obtain a warrant and they MUST work cooperatively with the law enforcement authorities in another country. I don’t think that in the reality we live in, that I as an individual would it’s only the resources of an individual can still use email in daily life and get any higher level of assurance. Anything else is fantasy.
I’m worried about protons business pricing- they are already outrageously expensive and getting more so and they are building AI dreck that I don’t care about; I just want secure email.
Exactly.
> If I capture the attention of Law Enforcement, then they can theoretically obtain orders to hand over logs, stored data, encryption keys, or (depending on jurisdiction), install or reconfigure systems to intercept plaintext prior to encryption.
You forgot, the same thing, on other webmail provider searching for emails sent to you. If they don't encrypt, the only place it's encrypted it's on your side.
So, to the original comment, they're right. They're still in clear-text elsewhere. Either on the wire, or on the server of the person you communicated with.
[dead]
[dead]
I've been leaving almost all my mail as unread for decades, but I've never seen a client redownloading everything at every check...
It is abusive, I don't think you could hit someone and say "maybe you can't handle being punched is your problem".
I think they are wrong with how their thought process is, you shouldn't have to provide a mailbox for them to completely control... in that area we'd expect to push mail to the server instead. Maybe they shouldn't support IMAP then.
Their documentation before the fix stated that "Paperless keeps track of emails it has processed in order to avoid processing the same mail multiple times. This uses the message UID provided by the mail server, which should be unique for each message." (https://web.archive.org/web/20260227170952/https://docs.pape...).
I think it's reasonable for a user to understand processing as in not downloading, either... (especially when it uses IMAP)
Nice how they called this "de-duplicating" by the way, in https://github.com/paperless-ngx/paperless-ngx/pull/13432 .......
It's especially bad for a product meant to be hosted on a server, where you're very unlikely to notice huge unexpected traffic (and where you're going to have a fast connection).
https://github.com/paperless-ngx/paperless-ngx/releases/tag/...
> I worked with Claude to solve this.
Another mail provider crossed off the list!
Fastmail is an incredible product too Thank you.
[deleted]
So sure it's "a lot" but you can get a lot of data with pretty straightforward use of email. It doesn't take crazy thinking.
As the sibling commenter mentioned, exactly.
Since it can't be done securely, it is misleading and scammy to claim you somehow managed to secure something fundamentally impossible.
If you want secure communication, use a secure channel, like signal.