- Secure Email (gmail And Outlook) Mcp Server
Secure Email (gmail And Outlook) Mcp Server
Secure Email is a remote MCP server that lets AI assistants work in your inbox without handing over control of your data. It connects Gmail and Microsoft 365 (Outlook and Exchange) mailboxes to Claude, ChatGPT, and any MCP client, and routes every request through PortEden, the data firewall for AI. The AI gets real access to search, read, draft, send, and organize email. You keep the keys.
Most "Gmail MCP" and "email MCP" setups hand the model a raw OAuth token with full mailbox scope. Secure Email does the opposite. Sensitive content is redacted before it reaches the AI, the AI is held to the exact permissions you grant, every action is logged, and access can be cut in one click.
Why Secure Email
- PII redaction first. SSNs, card numbers, passport numbers, and API keys are masked before any message text reaches the AI.
- Scoped permissions. The AI can only do what your token allows, per user, per AI, per project. It cannot exceed that ceiling, even if asked.
- One-click revoke. Cut access instantly. It takes effect on the very next request.
- Full audit trail. Every AI tool call is logged so you can see exactly what was read, sent, or deleted.
- Nothing stored. The connector keeps no tokens, no cache, and no database. Your bearer token is forwarded to PortEden and never persisted.
What you can do
- Search and find: "Find unread emails with attachments from last week."
- Catch up and summarize: "Catch me up on what I missed in my inbox this morning."
- Draft and reply: "Draft a reply to Sarah's email about the Q2 budget."
- Send and forward: "Forward the contract thread to legal."
- Organize: "Mark the newsletters as read and label the invoices."
- Clean up: "Delete the promotional emails from last month."
Tools (8): 3 read, 5 write
| Tool | Type | What it does |
|---|---|---|
email_search | Read | Search messages with filters (sender, date, unread, attachments) |
email_get | Read | Read a single message |
email_get_thread | Read | Read a full conversation thread |
email_send | Send | Compose and send a new email |
email_reply | Send | Reply to a message |
email_forward | Send | Forward a message or thread |
email_modify | Update | Mark read or unread, label, move |
email_delete | Delete | Delete a message |
Supported providers
Gmail (Google) and Microsoft 365 / Outlook / Exchange. Connect one or both inside PortEden.
Getting started
- Create a free PortEden account at https://porteden.com.
- Connect your Gmail or Microsoft 365 mailbox inside PortEden.
- Generate a PortEden access key (it starts with
pe_mcp_) and paste it into the config above as your Bearer token.
Prefer OAuth 2.0? Add the URL https://mcp.porteden.com/email to your client with no token and sign in. For a client that needs a stdio bridge, use mcp-remote:
{
"mcpServers": {
"secure-email": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.porteden.com/email"]
}
}
}
Works with
Claude (Desktop, web, and Code), ChatGPT, Microsoft Copilot, Google Gemini, Grok, and Cursor, plus any client that speaks MCP Streamable HTTP. Authentication: paste a PortEden access key (a pe_mcp_ Bearer token), or connect over OAuth 2.0 (OAuth 2.1 with RFC 9728 protected-resource metadata and dynamic client registration).
FAQ
Is this an official Gmail or Outlook MCP server? It is a PortEden connector that securely bridges your existing Gmail or Microsoft 365 account to AI clients. You authorize your own mailbox.
Does the AI see my whole inbox? Only what your PortEden permissions allow, and only after PII redaction. You scope access per AI and can revoke it instantly.
Where is my data stored? Nowhere in the connector. It is stateless: no tokens, no cache, no database. PortEden enforces permissions, quotas, redaction, and audit logging.
What does it cost? The Free tier is enough to connect and use one server. See https://porteden.com for plans.
Your data. Your rules. More info: https://porteden.com/
Server Config
{
"mcpServers": {
"secure-email": {
"url": "https://mcp.porteden.com/email",
"headers": {
"Authorization": "Bearer <YOUR_PORTEDEN_TOKEN>"
}
}
}
}Recommend Servers
View AllA Serper MCP Server
高德地图官方 MCP Server
test