# Langmail > Sovereign, AI-native email and calendar for humans and agents. Documentation for the Langmail MCP server and open-protocol surface. ## Docs - [Architecture](https://docs.langmail.me/concepts/architecture.md): How Langmail is put together — the open-protocol data layer, the MCP action layer, and one identity for humans and agents. - [Email intelligence](https://docs.langmail.me/concepts/email-intelligence.md): What happens to every message that lands in your mailbox — classification into five categories, to-do detection, summaries, the Morning Brief, and Gmail mirroring. - [Sovereignty](https://docs.langmail.me/concepts/sovereignty.md): What sovereign means mechanically at Langmail — your own mail server, open protocols as the right to leave, and mail that is never training signal. - [How authorization works](https://docs.langmail.me/connect/authorization.md): The OAuth 2.1 flow between an MCP client and the Langmail MCP server, endpoint by endpoint — discovery, dynamic client registration, consent, and tokens. - [Connect Claude](https://docs.langmail.me/connect/claude.md): Add the Langmail MCP server to Claude Code or Claude Desktop and authorize it against your mailbox. - [Connect other MCP clients](https://docs.langmail.me/connect/other-clients.md): Connect Cursor or any MCP client that supports remote Streamable HTTP servers with OAuth to the Langmail MCP server. - [Use a calendar client](https://docs.langmail.me/guides/calendar-clients.md): Connect your Langmail calendar to Apple Calendar, Thunderbird, or Android — CalDAV settings and an app password for two-way sync. - [Calendar workflows](https://docs.langmail.me/guides/calendar-workflows.md): End-to-end calendar tasks through an agent — schedule meetings with invitations, create recurring series, reschedule, cancel, and RSVP. - [Use a mail client](https://docs.langmail.me/guides/mail-clients.md): Read your Langmail mailbox from Apple Mail, Thunderbird, Outlook, or webmail — app passwords for IMAP and SMTP, plus the connection settings. - [Search and triage email](https://docs.langmail.me/guides/search-and-triage.md): End-to-end email tasks through an agent — find to-dos, filter by category and sender, read full messages and threads. - [What is Langmail](https://docs.langmail.me/index.md): 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. - [Quickstart](https://docs.langmail.me/quickstart.md): Connect Claude Code to your Langmail mailbox over MCP and make your first successful tool call in about two minutes. - [create_calendar](https://docs.langmail.me/reference/mcp/create-calendar.md): Create a new calendar for the authenticated user and get back its CalDAV URL. - [create_calendar_event](https://docs.langmail.me/reference/mcp/create-calendar-event.md): Create a calendar event — or a recurring series — and send iMIP invitations to the attendees. - [delete_calendar_event](https://docs.langmail.me/reference/mcp/delete-calendar-event.md): Delete a calendar event by uid; attendees receive iMIP cancellations. - [get_email](https://docs.langmail.me/reference/mcp/get-email.md): Fetch a single message's recipients and full plain-text body by id. - [get_thread](https://docs.langmail.me/reference/mcp/get-thread.md): List every message in the same thread as a given message id, oldest-first. - [list_calendar_events](https://docs.langmail.me/reference/mcp/list-calendar-events.md): List events in a calendar, optionally bounded by a start/end time window. - [list_calendars](https://docs.langmail.me/reference/mcp/list-calendars.md): List the authenticated user's calendars with their display names and CalDAV URLs. - [MCP server overview](https://docs.langmail.me/reference/mcp/overview.md): The Langmail MCP server at mcp.langmail.me — transport, authorization, result conventions, and the index of all 10 tools. - [respond_to_event](https://docs.langmail.me/reference/mcp/respond-to-event.md): RSVP to a calendar invitation — accept, decline, or tentative — on the authenticated user's behalf. - [search_emails](https://docs.langmail.me/reference/mcp/search-emails.md): Search the authenticated user's mailbox — free-text search combined with category, sender, date-range, and mailbox filters. - [update_calendar_event](https://docs.langmail.me/reference/mcp/update-calendar-event.md): Replace an existing event in place — identified by its uid — and re-send iMIP notifications to attendees. - [Open protocols](https://docs.langmail.me/reference/protocols.md): The open-protocol surface of a Langmail mailbox — JMAP, CalDAV, IMAP, and SMTP endpoints on mail.langmail.me, and how each authenticates.