> ## Documentation Index
> Fetch the complete documentation index at: https://docs.langmail.me/llms.txt
> Use this file to discover all available pages before exploring further.

# What is Langmail

> Langmail is a sovereign email and calendar backend your agents can drive — open protocols at the data layer, MCP at the action layer, no hyperscalers.

Langmail is an email and calendar backend that an agent can fully operate — and that isn't owned by a hyperscaler. Your mailbox lives on Langmail's own mail server, speaks open protocols, and exposes one MCP server that any MCP client supporting remote servers and OAuth can connect to.

It has [two layers](/concepts/architecture):

* **The data layer** — your mailbox and calendars on `mail.langmail.me`, reachable over JMAP, CalDAV, IMAP, and SMTP. Open protocols mean you can take your data and leave, any time, with standard tools.
* **The action layer** — the Langmail MCP server at `https://mcp.langmail.me/mcp`. It gives your agent structured search over your mail, full message and thread reads, and complete calendar management, in compact responses designed for agent context windows.

Humans and agents share the same mailbox: you read your mail in [webmail](https://webmail.langmail.me) or any IMAP client, while your agent works on the same messages over MCP.

## Start here

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Connect Claude Code to your mailbox and make your first tool call in about two minutes.
  </Card>

  <Card title="Connect your agent" icon="plug" href="/connect/claude">
    Wire the Langmail MCP server into Claude Code, Claude Desktop, Cursor, or any MCP client.
  </Card>

  <Card title="MCP tool reference" icon="wrench" href="/reference/mcp/overview">
    All 10 tools with exact parameters, constraints, and example output.
  </Card>

  <Card title="Open protocols" icon="globe" href="/reference/protocols">
    JMAP, CalDAV, IMAP, and SMTP endpoints — the right to leave, documented.
  </Card>
</CardGroup>

## What the MCP server can do today

| Area                   | Tools                                                                                             |
| ---------------------- | ------------------------------------------------------------------------------------------------- |
| Search and read email  | `search_emails`, `get_email`, `get_thread`                                                        |
| Manage calendars       | `list_calendars`, `create_calendar`                                                               |
| Manage events          | `list_calendar_events`, `create_calendar_event`, `update_calendar_event`, `delete_calendar_event` |
| Respond to invitations | `respond_to_event`                                                                                |

Email access is read-only by design: the current tool surface searches and reads mail but does not send, draft, or delete it. Calendar tools are read-write, including sending invitations and cancellations to attendees.

## Why builders pick Langmail

* **Built for agents first.** Compact, plain-text tool results keep token spend low. Structured filters (category, sender, date range, mailbox) mean one precise call instead of paging through an inbox.
* **OAuth, not your password.** Each MCP client connects through an OAuth grant you approve in the browser. Your agent never sees or stores your password.
* **Sovereign by construction.** Your mail lives on Langmail's own server on European infrastructure — not on a hyperscaler, and never used as training signal. See [Sovereignty](/concepts/sovereignty).
