The mail server
Your inbox and calendars live on Langmail’s own mail server (Stalwart) atmail.langmail.me, hosted in Germany. The server speaks:
- JMAP for mail — the modern, JSON-based successor to IMAP
- CalDAV for calendars and scheduling
- IMAP and SMTP for compatibility with every existing mail client
The MCP server
The MCP server atmcp.langmail.me is a thin, stateless translation layer: it authenticates the agent, then executes tools against the mail server over JMAP (email tools) and CalDAV (calendar tools) as the user who granted it access. It holds no copy of your mail.
Its design goals, visible in the tool surface:
- Token-frugal. Search and thread results are compact plain text without message bodies; the agent fetches a body only when it needs one.
- Structured over scraping. Email-type, sender, date-range, and mailbox filters answer most questions in one call.
- Read-write, with clear stakes. The agent can read, draft, send, file and mark mail, set up mail rules, and manage calendars and contacts. Each tool’s annotations say whether it changes data and whether that can be undone, so a client can ask before
send_draft,reply_to_messageortrash_emails.
One identity for humans and agents
A single identity service (auth.langmail.me) signs you into the web app’s Account settings and every agent grant:
Every path resolves to the same principal: your
you@langmail.me mailbox. An agent’s token is scoped to the user who granted it — it can never reach another mailbox.
Humans and agents, same mailbox
There is no “agent copy” of your data. When classification flags a message as a to-do or types itreceipt, the result is a standard mailbox keyword on the message itself — the same one a connected agent filters by a second later, and the same one your sub-agent labels show up as in your mail client. The mailbox is the single source of truth, and every surface — human or agent — reads the same one.