Share 3 Gmail Inboxes Between Claude Code and Codex via IMAP
aryanXmahajan · x · 2026-08-24
The author shares a fix to avoid reconnecting 3 Gmail inboxes when switching between Claude Code and Codex. The solution involves setting up an app password per inbox with IMAP and installing Better Email MCP. By adding multiple email:password pairs to the EMAILCREDENTIALS variable, both clients share the same local tools. The tool auto-detects settings, allowing AI to search, read, organize, and reply across all inboxes. A manual approval rule ensures AI drafts and triages emails, but nothing leaves Gmail without explicit approval.
More from coding & agent
- Event Announcement: Use Claude Code Like a Pro Webinar — Al_Grigor · 2026-08-24
- Hugging Face Diffusers Updates CLI to Optimize Costs for Agents — RisingSayak · 2026-08-24
- Senior Engineer Discusses Context Building Strategies for AI Agents in Large Projects — LLM-trace-wizard · 2026-08-24
- AI Dev Tools Zoomcamp 2026 Detailed: 4 Modules Cover Agents and MCP — Al_Grigor · 2026-08-24
- System-Atlas: Visualize codebases as explorable isometric maps — emax · 2026-08-24
- Which model handles messy business data best for reporting? — chase9527mmm · 2026-08-24