Connect AI apps to your mailbox (MCP): how-to and tips
With the AI apps add-on, you can connect AI apps such as Claude or ChatGPT to your mailr mailbox. The app can then search and read your emails, write drafts, manage contacts and more, always within the permissions you choose. The connection uses the open standard MCP (Model Context Protocol).
Requirements
- The AI apps add-on is enabled for your mailbox. Your domain administrator books it in the mailr portal (see AI add-ons: availability and booking). If it isn't enabled, webmail shows a note to contact your domain administrator.
- An AI app that supports custom MCP connectors (remote MCP servers), for example Claude or ChatGPT.
Connect an AI app
- In your AI app, add a custom connector (also called a remote MCP server or custom app). The exact menu depends on the app; in Claude it's under the connector settings, in ChatGPT under the apps/connectors settings.
- Enter this URL: https://webmail.mailr.ch/mcp
- The app opens the mailr webmail login. Sign in with your email address and password (and your second factor, if you use two-factor authentication).
- Webmail shows which permissions the app requests. Choose what it may do and confirm.
- Done. You can now ask the AI app questions about your mailbox.
Permissions
You decide what each app may do:
- Read emails: search and read emails and attachments, check storage usage.
- Modify emails: move emails (also to Trash), mark as read/unread, flag, and create, edit or delete drafts, replies and forwards.
- Send emails: send new emails and saved drafts (at most 20 per hour).
- Read contacts / Modify contacts: search, add, change and delete contacts.
- Manage folders: create, rename and delete (empty) folders.
Good to know: AI apps can't permanently delete emails. They can only move them, for example to Trash. Drafts, contacts and empty folders can be deleted if you grant the matching permission.
If you only want the app to answer questions about your mail, grant Read emails only.
Manage and remove connections
In webmail, go to Settings > AI Integrations. There you can see all connected apps, change their permissions, see their recent actions, and remove a connection. A connection also expires automatically after 30 days without use.
Tips for fast, useful answers
- Name the folder or period. "When did I last receive an email in the inbox?" is answered almost instantly. "When did I last receive an email to anna@example.com?" makes the app search every folder, which can take a few seconds in large mailboxes.
- Be specific. Sender, subject words, a time frame ("last week", "since 1 March") or a folder help the app find the right messages with fewer searches.
- Let the app draft, then check. Ask for a reply as a draft, review it in webmail and send it yourself, especially for important emails.
- Grant only what you need. Reading is enough for summaries and searches. Add sending only if you really want the app to send emails.
Example requests
- "Summarize the unread emails in my inbox from today."
- "Find the invoice from Swisscom in the last three months and tell me the amount."
- "Draft a polite reply to the latest email from Anna, saying I'll send the documents on Friday."
- "Move all newsletters from last month in the inbox to the Marketing folder."
- "Which emails with attachments did I receive from bernhard@example.ch this year?"
Privacy
The AI app processes what it reads from your mailbox, according to the terms of its provider (e.g. Anthropic or OpenAI). Only connect apps you trust, and only grant the permissions you need. You can remove a connection at any time under Settings > AI Integrations.