Gmail Automator
Connect AI coding agents to Gmail with proactive quota enforcement, durable queuing, and encrypted OAuth credential storage.
Gmail Automator is a self-hosted Model Context Protocol (MCP) server and REST API that allows AI assistants like Claude Code, Cursor, and OpenCode to safely interact with Gmail. Operating as a secure proxy, it holds encrypted OAuth credentials locally so agents never touch raw tokens, and it enforces Gmail's rolling 24-hour sending quotas before dispatching API calls to prevent account lockouts. With support for standard MCP transports (streamable HTTP and stdio), threaded replies, draft creation, inbox search, and durable task queuing, it gives autonomous workflows reliable mailbox automation without compromising security.