Inbox To Action logo

Inbox To Action

Triages Gmail, classifies and summarizes messages, extracts tasks, and saves reviewable reply drafts without sending email.

Install Inbox To Action

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "inbox-to-action": {
      "command": "uvx",
      "args": [
        "inbox-to-action",
        "mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio inbox-to-action -- uvx inbox-to-action mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx inbox-to-action mcp

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The inbox-to-action MCP server connects Gmail triage with an agentic workflow for classification, summarization, task extraction, calendar flags, and reply drafting. It fetches unread messages, lets the selected language model determine which operations to run, writes a Markdown report, and saves replies as Gmail drafts. It supports cloud and local model providers, including Ollama and Claude Code sessions. Reach for it when you want a review-first way to turn recent inbox messages into actions without automatic sending.

Use cases

  • Triage unread Gmail from the last day
  • Extract deadlines into a local task file
  • Draft replies for action-needed messages
  • Summarize long email threads
  • Flag messages that need calendar time

Key features

  • Gmail OAuth with read and compose scopes
  • Agentic email classification
  • Long-thread summarization
  • Task and deadline extraction
  • Reviewable Gmail reply drafts
  • Local Ollama provider support

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 77d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned just now via OSV.dev · inbox-to-action (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
Last commit4mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Inbox To Action works

What inbox-to-action does

The inbox-to-action MCP server turns recent unread Gmail into a structured triage result. By default, it examines messages from the previous 24 hours and assigns each one to action_needed, fyi, newsletter, or noise. Long threads over 500 words receive a two-line summary.

For messages requiring attention, the workflow can identify tasks and deadlines, prepare a reply, and mark the message as needing a calendar block. It writes the results to triage-report.md, including category sections, reply previews, extracted tasks, and calendar items. Tasks also go to tasks.md; Todoist output is available as an option.

Reply drafts are saved in Gmail for human review. The application has no send scope or send API call, so it does not send messages automatically.

How it works

The same tool functions support both the command-line agent and the MCP server. An agent loop fetches messages, then the model chooses which operations to apply to each email rather than following a fixed sequence. Available operations include classify_email, summarize_thread, extract_tasks, draft_reply, and flag_for_calendar.

The Gmail connection uses OAuth with read and compose permissions. The language-model layer can use OpenRouter, OpenAI-compatible providers such as OpenAI or NIM, Anthropic, a Claude Code session, or Ollama. Ollama keeps processing local; cloud providers send email content to the selected external service. Telegram and Todoist are optional destinations for summaries or tasks.

Setup and configuration

Install the package with pip install inbox-to-action, or use pipx. The MCP-enabled extra is available with pip install 'inbox-to-action[mcp]'. A Docker image is also provided and runs the server over stdio. The repository includes a python -m inbox_to_action.mcp_server entry point.

For a no-Gmail trial, run inbox-to-action run --mock to process the bundled sample inbox. For real mail, create a Google Cloud desktop OAuth credential, place client_secret.json in the project, and run inbox-to-action auth. Then use inbox-to-action run, optionally setting a time range, message limit, Todoist output, or --no-drafts.

The --no-drafts option performs analysis and report generation without creating Gmail drafts. Provider selection uses PROVIDER; provider-specific API keys or local services may be needed. Claude Code and Ollama offer keyless paths when their respective local sessions or services are available.

Limitations and notes

The inbox-to-action MCP server sends email subjects and bodies to the configured model provider unless processing is kept local with Ollama. Email content can contain prompt-injection attempts, so drafts should be reviewed before sending. Reports and task files contain private message content and should be protected, especially inside a Git working tree.

Automated no-reply senders do not receive drafted replies; the report records them instead. The default run processes up to 25 emails per account, and the --max option can change that limit. Telegram and Todoist integrations are opt-in and transfer the selected summaries or tasks outside the machine.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Inbox To Action

inbox-to-action is an MCP server that connects Gmail with an agentic triage workflow. Its main tools classify emails, summarize long threads, extract tasks, draft replies, and flag calendar needs. It writes a Markdown report and saves replies as Gmail drafts, but it cannot send email automatically.

Install it with `pip install 'inbox-to-action[mcp]'`, or run the provided Docker image for the stdio server. The package also supports `pipx`; the repository documents `python -m inbox_to_action.mcp_server` as an MCP entry point.

Create a Google Cloud desktop OAuth credential, place `client_secret.json` in the project, and run `inbox-to-action auth`. The authorization requests Gmail read and compose permissions, after which `inbox-to-action run` can process real messages.

No, inbox-to-action cannot send email automatically. It uses Gmail compose access to save proposed replies as drafts, leaving review and sending to the user.

Yes, Ollama provides a fully local model-provider option. Set `PROVIDER=ollama`, start Ollama, and select a model such as `llama3.1`; Gmail access and any optional Telegram or Todoist delivery remain separate considerations.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewInbox To Action AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/inbox-to-action?style=directory)](https://allmcps.com/mcp/inbox-to-action)
HTML Embed
<a href="https://allmcps.com/mcp/inbox-to-action"><img src="https://allmcps.com/api/badge/inbox-to-action?style=directory" alt="Inbox To Action on AllMCPs" /></a>