The sad part is that this won’t even work. People will just have the agent operate a browser to send email and it’ll be unnecessarily messy and wasteful.
I made an agent with Gmail connectors (so your agent can draft emails for you not even send) and had to go through a lengthy API OAuth Dev Verification process with Google. Completed it, and now they want me to complete an ADA-CASA AL1 (formerly Tier 2) security assessment for my application. It's a paid service through one of their partner labs.
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.
If you can do it with a browser then your agent can do it with curl. I am sure that there will quickly be community-provided alternatives.
Respectfully disagree, in part.
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.
Uh why would that be necessary? Can't you just use... SMTP?
Gmail has SMTP. You can send emails with a python script…