Loading MCP servers…
# Secure email inbox protected against prompt injection attempts, malware, viruses and more This MCP server acts as a secure gateway between your AI agents and email systems, protecting against common email-borne threats before content ever reaches your LLM. Every message is scanned for prompt injection attempts, malware, viruses, spam, and other malicious content, ensuring your agents only process trusted, sanitized emails. ## Features * **Prompt Injection Protection** – Detects and neutralizes prompt injection attacks embedded in email content. * **Malware & Virus Scanning** – Prevents AI
Follow the source guide for connection and authentication details.
Register a new Guardmail user and provision a custom email address.
Send an email from the user's custom Guardmail address with automatic LLM Guard and ClamAV attachment scanning.
List inbox emails with security scan results.
List emails flagged as spam by the spam filter.
List emails quarantined by LLM Guard or ClamAV.
Search the authenticated user's mailbox by subject and/or body text, optionally narrowed by a received-at date range and/or a status folder. Provide at least one of subject, body, since, or until. All filters combine with AND; matches are case-insensitive. Text matching uses SQL LIKE wildcards: `%` matches any sequence of characters and `_` matches any single character. These are interpreted as wildcards, not literals — e.g. `50%` also matches `500`, and `order_7` also matches `orderx7`. There is no regex support. Results are newest-first and paginated, with the same security scan metadata and MCP redaction rules as list_inbox.
Get full email details including the complete security scan report.
Manually move a quarantined or spam email back into the inbox. Use this when a user confirms an email was quarantined or flagged as spam in error and wants to retrieve it. The original security scan results are preserved — if LLM Guard or ClamAV flagged the email, its content stays redacted for MCP consumers after the move, but the user can read it in the web UI. Only emails currently in "quarantine" or "spam" can be moved; inbox/pending/scanning/sent emails cannot.
Update the user's spam filter configuration (rules, allow/block lists, sensitivity).
Update the user’s security settings. Currently controls whether outbound (sent) emails are scanned by LLM Guard for prompt injection and toxicity before delivery. Inbound scanning is always on regardless of this setting.
Get the authenticated user’s subscription tier and email quota usage: monthly/daily limits, how many emails (sent + received) have been used this month and today, and whether the account email is verified. Use this before sending a batch of emails to check remaining quota, or to tell the user which plan they are on and whether they need to verify their email or upgrade to send more.
Mint a short-lived signed download URL for an attachment on an email the caller owns. Use this to fetch attachment bytes (e.g. to read a document or image the user sent/received). The returned URL is fetchable with a plain GET — no auth header needed — and expires after a few minutes; request a fresh URL if it has expired. Attachments flagged as malware by ClamAV are removed at scan time and cannot be downloaded.