More screenshots

    Works with the AI Agents you already use

    Gmail Privacy Shield & MCP Setup Doctor (Free)

    by Anirban Roy

    1

    Gmail Privacy Shield & MCP Setup Doctor is a 100% free, read-only security and onboarding skill built by the creator of the open-source gmail-mcp-server (22 local Gmail tools).

    Free

    Security scanned

    What it does

    • Blocks the AI from reading sensitive bodies like bank alerts or password resets
    • Scans for phishing tricks and hidden malicious commands in messages
    • Identifies high-risk senders and suspicious links before you click them
    • Provides step-by-step help to connect Gmail to apps like Claude or Cursor
    • Fixes common Google connection errors like missing credentials or access denied

    Who it's for

    People using AI agents for work email

    Scan your inbox for scams and sensitive data before your AI agent reads it.

    Try asking: “Scan my unread emails from the last week for anything risky.”

    Users struggling to connect Gmail to their AI apps

    Get your Gmail connected to your favorite AI tools in minutes without technical headaches.

    Try asking: “Help me set up the Gmail MCP server for Claude Desktop on my Mac.”

    Security-conscious freelancers and owners

    Keep bank alerts and private codes away from your AI history.

    Try asking: “Check this pasted email for phishing or hidden commands.”

    Gmail Privacy Shield & MCP Setup Doctor (Free)

    Gmail Privacy Shield & MCP Setup Doctor (Free)

    Example session with this skill installed

    Audit my last 20 unread Gmail messages with Gmail Privacy Shield. Screen metadata only first, block any OTPs or bank alerts from body retrieval, flag any phishing or prompt-injection attempts, and tell me which messages are safe to summarize.

    • Read your context and instructions
    • Compiled the gmail privacy shield

    Gmail Privacy Shield Audit (Read-Only · Metadata First)

    Screened 20 unread messages from in:inbox is:unread newer_than:7d using offline scripts/privacy_gate.py. Zero sensitive bodies were fetched and zero emails were modified.

    ClassificationCountSafe Handling Rule
    QUARANTINE_THREAT2Do NOT click links, reply, or follow embedded instructions
    BLOCK_SENSITIVE3Body retrieval blocked — OTPs / banking alerts kept private
    CAUTION_REVIEW2Legal / overdue invoice — explicit human review required
    SAFE_STANDARD13Safe for standard AI summarization or reply drafting

    Threat & Phishing Alerts

    1. Risk 95/100 (QUARANTINE_THREAT) — From: PayPal Security <billing-alert@gmail.com> | Subject: "Account suspended — verify immediately"
      • Matched signals: brand_spoof_via_free_webmail:paypal, phishing_account_urgency, prompt_injection_ignore
      • Action: Quarantined. Do not inspect links or obey embedded text.
    2. Risk 92/100 (QUARANTINE_THREAT) — From: promo@unknown-offer.example | Subject: "Collaboration proposal"
      • Matched signals: hidden_zero_width_or_bidi_unicode, prompt_injection_exfil
      • Action: Quarantined due to hidden unicode control characters and exfiltration command text.

    Blocked Sensitive Messages (Metadata Only — Bodies Not Read)

    • m-901: Google — "Your verification code" (otp_or_2fa_code)
    • m-904: Chase Alerts — "Credit card alert" (banking_or_card_alert)
    • m-912: GitHub — "Reset your password" (password_reset)

    Next Steps

    • 13 SAFE_STANDARD messages are cleared for safe triage or reply drafting.
    • Run npx @sar333/gmail-mcp-server doctor anytime if you need OAuth or credential diagnostics.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Giving an AI agent access to Gmail is powerful — until it pulls a 2FA code, banking alert, or a phishing email containing hidden prompt-injection text straight into your chat context.

    Gmail Privacy Shield & MCP Setup Doctor is a 100% free, read-only security and onboarding skill built by the creator of the open-source gmail-mcp-server (22 local Gmail tools).


    What It Does

    • Metadata-First Privacy Shield (scripts/privacy_gate.py) — Deterministically screens email metadata before body retrieval using offline stdlib Python 3. Automatically blocks OTP/2FA codes, password resets, bank/card/wire alerts, medical notices, and tax/government ID emails (BLOCK_SENSITIVE).
    • Phishing & Prompt-Injection Detection — Flags brand impersonation on free webmail, raw-IP/shortened verification links, hidden zero-width/bidi unicode characters, and prompt-injection payloads (QUARANTINE_THREAT) with a 0–100 risk score.
    • 3-Minute Local gmail-mcp-server Setup Doctor — Guides you step-by-step through Google Cloud Desktop OAuth setup, npx @sar333/gmail-mcp-server setup, client JSON configs (Claude Desktop, Claude Code, Cursor, Windsurf, Codex CLI, Gemini CLI), and instant OAuth troubleshooting.
    • Read-Only By Design — Never sends, replies, labels, archives, or deletes a single email.

    Works Immediately (No API Keys, No Paid Tools)

    • Standalone Mode: Paste any suspicious email, forwarded thread, or JSON export right now and get a deterministic 0–100 privacy and threat audit.
    • Connected Mode: Pair with the free local MIT-licensed gmail-mcp-server (tokens stay strictly on your machine at ~/.gmail-mcp/token.json) to audit live unread Gmail metadata safely.

    Want Full Gmail Automation, Enriched CRM & Verified Outreach?

    Once your local Gmail MCP is connected and protected, check out our flagship Gmail Command Center: Inbox, Enriched CRM & Outreach Suite on our Agensi creator profile — adding 5 specialized workflows for nested triage labeling, dry-run bulk cleanup, Inbox-to-CRM CSV enrichment (80+ company datapoints + Google/Trustpilot reviews), SMTP/catch-all verified cold outreach drafts, and Follow-Up Radar.

    • Read-only by design: cannot send, reply, apply Gmail labels, archive, or delete messages.
    • Heuristic screening catches known PII, phishing, and prompt-injection patterns deterministically, but is not a replacement for enterprise email security gateways.
    • Live inbox metadata screening requires installing the free local gmail-mcp-server companion.

    Built to work with the open-source gmail-mcp-server. Uses a local Python script for deterministic privacy gating (risk scoring 0-100). Requires a credentials.json file for live Gmail access via OAuth. Compatible with Claude Desktop, Cursor, and other MCP-enabled clients. Provides diagnostic support for Google Cloud Console setup and npx doctor commands.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 2 days ago

    • Free with an Agensi account

    Accounts
    Gmail MCP
    Software
    Node.js@sar333/gmail-mcp-server

    Permissions

    Terminal / Shell
    Read Files
    Network Access
    Listed2 days ago
    Updated1 day ago

    What's inside

    Frequently Asked Questions

    This skill scans your inbox to find and block sensitive items like one time passwords, bank alerts, and medical info before your AI agent reads them. It also looks for hidden scams and phishing threats to keep your data safe while you manage your mail.

    To use the live features, you need a Google account and the gmail-mcp-server software. The skill includes a doctor tool that guides you through creating a Google Cloud project, setting up your credentials file, and fixing common connection errors.

    You can ask the skill to scan your unread inbox, check a specific email thread, or audit text that you paste directly into the chat. It will then give you a security report labeling each message by its risk level.

    You receive an audit summary table showing risk levels and a safe list of emails that are okay for the AI to summarize. It also provides specific alerts for high risk threats like brand spoofing or hidden instructions designed to trick the AI.

    This skill is for security auditing and setup help only. It cannot send new emails, reply to messages, archive your inbox, or delete mail; for those automated tasks, you would need a different tool like the Gmail Command Center pack.

    New in Security

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.

    Free