How to set up an MCP email assistant with PureBox

tools2026-10-222 min readPureBox Editorial
Set Up an MCP Email Assistant with PureBox header

TL;DR

Connect AI assistants like Claude Desktop to your Gmail via PureBox's Model Context Protocol (MCP) server for safe, read-only mailbox analysis and triage.

ApproachManual GmailGeneral AI ChatPureBox AI
How it worksManual search filters & page-by-page checkboxesPrompting one thread or question at a timeSorts whole inbox into Inbox, Archive, and Trash tracks
PersonalizationStatic rules you maintainGeneric prompt guessesLearns from ~90 days of your Gmail open, reply, and archive history
Safety & controlEasy to misclick bulk selectionsNo batch approval queue or undo logYou approve what moves; reversible in Gmail with History

Connecting an AI assistant like Claude Desktop, Cursor, or ChatGPT to your Gmail account enables powerful conversational inbox triage. However, granting external tools direct API credentials creates severe security risks.

PureBox provides a hosted Remote Model Context Protocol (MCP) server that allows AI assistants to analyze your mailbox safely under server-enforced user approval.

Why use Remote MCP for email triage?

  • No credentials shared with local AI models: The MCP server communicates via secure OAuth 2.1 tokens verified via JWKS. Your Google account password and API keys are never exposed to local agent configuration files.
  • Server-enforced safety guardrails: The AI assistant can query mailbox statistics and inspect suggested cleanup batches, but cannot execute mass deletions or label changes without your explicit confirmation.
  • Canonical tracks: Actions map directly to Gmail's native Inbox, Archive, and Trash tracks.

How to configure PureBox MCP in Claude Desktop

Add the PureBox MCP endpoint to your claude_desktop_config.json:

{
  "mcpServers": {
    "purebox": {
      "command": "npx",
      "args": [
        "-y",
        "@purebox/mcp-server"
      ],
      "env": {
        "PUREBOX_API_KEY": "your_purebox_api_key_here"
      }
    }
  }
}

Restart Claude Desktop. You will see PureBox tools available in the assistant interface.

Example conversational prompts to try

Once connected, you can ask your AI assistant:

  • *"What are my top 5 highest-volume email senders this month?"*
  • *"Show me suggested Archive candidates for newsletters older than 60 days."*
  • *"Are there any active customer support emails that require my reply today?"*

Privacy and model safety

According to PureBox's Privacy Policy:

  • Raw email bodies are not stored after classification.
  • Gmail data is never used to train generalized, third-party, or public foundation AI models.
  • You can revoke MCP tokens at any time in your PureBox account settings.

Start with a free PureBox sample scan analyzing 100 emails across your top 10 senders with no credit card required.

Frequently asked questions

  • What is the Model Context Protocol (MCP)?

    The Model Context Protocol (MCP) is an open standard that allows AI applications (such as Claude Desktop, Cursor, and ChatGPT) to communicate securely with external data sources and tools through standardized interfaces.
  • Does connecting an MCP assistant give it access to my Google password?

    No. PureBox uses a segregated two-layer authentication model. The assistant communicates with PureBox using an isolated OAuth 2.1 token, while your Gmail credentials remain protected within PureBox's encrypted infrastructure.
  • Can an AI assistant delete my emails directly through MCP?

    No. PureBox enforces immutable server-owned apply plans. Assistants can inspect suggestions, request summaries, and prepare plans, but destructive actions are bounded by safety guardrails where you approve what moves.

See what PureBox would clean up in your Gmail.

No-card Free scan · Review before applying