SendaShield
Integrates with Gmail to provide a privacy-filtering layer for AI assistants, detecting, masking, or withholding sensitive content in email messages before they reach the assistant.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SendaShieldSummarize my unread emails but mask any sensitive data first"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SendaShield
Sensitive Data Shield — a self-hosted privacy filter that sits between your AI assistant and your mail and calendar.
When you connect Gmail to Claude or ChatGPT, every message the assistant fetches lands raw in its context window. A request as ordinary as "triage my unread mail" can pull bank statements, medical correspondence, or a lawyer's letter into a third party's system — and into a chat history you cannot delete.
SendaShield inspects every item before it reaches the assistant, masks or withholds sensitive content according to a policy you control, and tells you honestly what was held back.
You run it. Nobody else — including the authors — ever sees your data.
What it does
Masks aggressively, withholds cautiously. Hiding an account number costs you nothing. Hiding a whole message might cost you a deadline.
Detects by checksum, not guesswork. Luhn for cards, mod-97 for IBANs, the German Steuer-IdNr check digit — near-zero false positives on the identifiers that matter most.
Understands whole-message sensitivity. A letter from your lawyer contains no detectable identifier. SendaShield still catches it.
Treats calendar as a first-class problem. An event has no body — the sensitivity is in the title and the attendee list. Nobody else handles this.
Shows you what it withheld. In your own dashboard, on your own machine.
Neutralises prompt injection. Email is attacker-controlled text, and assistants treat tool results as authoritative.
Related MCP server: mail-cal-drive-mcp
What it does not do
SendaShield reduces what your assistant sees. It does not guarantee that nothing sensitive gets through. Automated detection is imperfect: it will miss things, and it will occasionally withhold something harmless. Treat it as a strong seatbelt, not an airbag.
It also cannot stop your assistant using a different tool. If you leave a native Gmail connector enabled, the assistant will route around SendaShield and there is no way for us to detect or prevent that. Disconnecting the direct connector is the only real control.
The honest claim is SendaShield filters everything that passes through it — never it prevents your assistant from reading sensitive email.
Status
Early development. See docs/build-plan.md for milestones.
INSTALL.md describes the target state at v1.0, not the current build.
Getting started
See INSTALL.md. Roughly ten minutes for IMAP/CalDAV, twenty-five for Gmail.
Runs on anything from a Raspberry Pi to a €5/month VPS. Free hosting is possible on your own machine via Tailscale Funnel.
How it works
SendaShield is an MCP server. Your assistant connects to it instead of to Google, so your assistant never holds provider credentials and never touches raw mail.
you → assistant → SendaShield → Gmail / IMAP / CalDAV
↓
detect · mask · withhold
↓
filtered view + honest count of what was held backWorks with claude.ai (web, desktop, mobile), Claude Desktop, and any other MCP client.
Full design in docs/architecture.md; the reasoning behind each
decision is in docs/project-brief.md.
Privacy
No telemetry. No analytics, no crash reporting, no version checks. Message bodies are never written to disk. The audit log records that an item was filtered and its category — never its content.
Your data goes to your AI provider (filtered) and to your mail provider. There is nowhere else for it to go.
Do I have legal obligations?
If you are running this on your own personal mail, no — GDPR's household exemption (Art. 2(2)(c)) covers personal use entirely.
If you are a freelancer or business using it on work mail, you already have obligations as a controller, and they exist because you hold client correspondence, not because you installed this. SendaShield improves that position: it is a technical measure under Art. 32, evidence of minimisation under Art. 5(1)(c), and an implementation of privacy by design under Art. 25.
This is orientation, not legal advice.
Licence
AGPL-3.0. Contributions require a CLA — see
CONTRIBUTING.md.
Security
Please report vulnerabilities privately. See SECURITY.md.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceAn MCP proxy that pseudo-anonymizes PII before data reaches external AI providers like Claude, ChatGPT, or Gemini.17MIT
- Alicense-qualityDmaintenanceA self-hosted MCP server for managing email, calendar, and cloud storage across Microsoft 365, Google Workspace, and IMAP accounts, enabling natural language interaction through any MCP client.1MIT
- AlicenseAqualityCmaintenanceA privacy-first MCP server for inbox triage, enabling masked email reading, calendar upsert, reply drafting, and Slack digests using Google and Slack credentials.10MIT
- AlicenseAqualityAmaintenanceAn MCP server that redacts PII/PHI from text before it ever reaches an LLM — self-hosted, fail-closed, and HIPAA-aware.3MIT
Related MCP Connectors
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bj-taduran/sendashield'
If you have feedback or need assistance with the MCP directory API, please join our Discord server