claude.ai and ChatGPT
Add a custom connector with your address. mailrust opens a consent screen: you see who asks and where it returns, and choose the rights.
https://mail.example.com/mcp
AI agents · MCP
mailrust is an MCP server for your email, outreach and newsletters. Claude, ChatGPT, Cursor or your own agent works inside it, with the rights you set for each area and each mailbox.
01Connect
Add a custom connector with your address. mailrust opens a consent screen: you see who asks and where it returns, and choose the rights.
https://mail.example.com/mcp
Create an agent under Agents, pick its rights and paste its key into the client. The key is shown once.
claude mcp add --transport http mailrust https://mail.example.com/mcp --header "Authorization: Bearer mra_..."
The agent searches, reads, sorts, drafts and sends within its rights. Emails it writes wait under Agents until you press Send.
02Rights
Every agent gets its own set. New agents can only read mail until you give them more.
03Tools
An agent sees only the tools its rights allow. Ask for more, and the person decides.
04Safety
Emails an agent writes wait for a person. Sending on its own needs both the agent's right and the administrator's permission.
Agent keys and tokens are stored as fingerprints. A leaked database does not give anyone an agent's access.
OAuth 2.1 with PKCE, one-time codes, short tokens and refresh rotation. A replayed token cancels the whole sign-in.
The administrator can turn agents off for the whole installation or revoke any agent in a click.
Every email, change and approval lands in the audit log with the agent's name.
The 2026-07-28 protocol and the earlier versions, so old and new clients both connect.
Run this on a Linux server. The installer prints a link where you finish setup in the browser.
curl -fsSL https://mailrust.com/install.sh | sh