instax-dutta

Gmail Automator — AI skill for Claude Code

AI community

Self-hosted Gmail MCP server for AI agents and coding tools.

How to install Gmail Automator

This entry records only its repository, not the path inside it, so there is no exact command to give. Open instax-dutta/gmail-automator and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Gmail Automator does

Self-hosted Gmail MCP server for AI agents and coding tools. Send, read and reply to email from Claude Code, Cursor or OpenCode, with encrypted OAuth tokens and Gmail quota enforcement that prevents account lockouts.

Alternatives in AI

  • CLI 代理 API — English 中文 一个为 CLI 提供 OpenAI/Gemini/Claude/Codex 兼容 API 接口的代理服务器 19k ★
  • Claw Empire — Command Your AI Agent Empire from the CEO Desk — A local-first AI agent office simulator that orchestrates CLI 1.1k ★
  • Cupcake — A native policy enforcement layer for AI coding agents 255 ★

README

gmail-automator

[![CI](https://github.com/instax-dutta/gmail-automator/actions/workflows/ci.yml/badge.svg)](https://github.com/instax-dutta/gmail-automator/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![Python 3.12+](https://img.shields.io/badge/python-3.12%2B-blue.svg)](pyproject.toml) [![M8ven Score](https://m8ven.ai/badge/mcp/instax-dutta/gmail-automator)](https://m8ven.ai/mcp/instax-dutta/gmail-automator?s=readme)

**Let Claude Code, Cursor, OpenCode, or any AI agent send, read, and reply to Gmail as you - without it ever getting your account locked.**

gmail-automator is a self-hosted **MCP server** for Gmail that exposes 14 tools to AI agents and coding agents over the Model Context Protocol, with a REST API alongside it. It holds the Google OAuth credential so your agent never does, and it accounts for every send against Gmail's real sending quota *before* contacting Google - refusing a send that would breach the limit instead of discovering the limit by hitting it.

Use it when you want an agent to **send email from Claude Code or Cursor**, **read and triage a Gmail inbox with an LLM**, **reply to email on your behalf**, or **automate outreach** - and you want the mailbox credential to stay encrypted on your own host.

Protocol MCP (Model Context Protocol) over Streamable HTTP or stdio; REST API at /v1
Works with Claude Code, Claude Desktop, Cursor, Windsurf, OpenCode, Cline, Continue, any MCP client
License MIT. Self-hosted. No vendor lock-in, no paid tier, no signup
Language Python 3.12+, FastAPI, SQLAlchemy. SQLite by default, PostgreSQL optional
Credentials AES-256-GCM encrypted at rest, never returned by the API, never logged
Default scope gmail.send only. Read, reply, and labels refuse until you widen it
Quota Enforces Gmail's rolling 24-hour limit at 85%, pacing and backoff included

**Alpha.** Pr