Gmail sending guardrails fail

Open 💬 0 comments Opened Jul 9, 2026 by paddywills

What version of the Codex App are you using (From “About Codex” dialog)?

26.623.101652

What subscription do you have?

Pro

What platform is your computer?

Macos

What issue are you seeing?

Emai sending is occurring despite strict guardrails. The raw MIME proves the message was sent through Gmail API:
by gmailapi.google.com with HTTPREST
That means it was not a normal SMTP send. It was created by some API client authenticated to the Gmail account that can send as me.

What steps can reproduce the bug?

Feedback ID: 019ec691-366a-7801-8736-46f5824d1119

What is the expected behavior?

Drafts created in gmail

Additional information

Instruction guardrails are not enough. The Gmail send tools should be technically unavailable. The reason this is extra important is that codex cannot handle gmail aliases and I use the same account for personal and work. So codex can never send the emails correctly anyway.

View original on GitHub ↗