Why use JMAP over IMAP?
JMAP is the right choice when you’re building a new integration from scratch, need low-latency access, or are operating in environments where non-HTTPS ports are restricted.
Connection details
Use your mailbox’s full email address as the username and the password you set via the
secrets field in the Management API as the password. All JMAP requests are standard HTTPS — no special TCP connections or TLS configuration beyond what any HTTPS client handles automatically.
Session discovery
Every JMAP client starts by fetching the session object, which describes the capabilities of the server and the URLs for API calls, uploads, downloads, and event streams. Discover the session by sending a GET request to the well-known JMAP endpoint.Session discovery
apiUrl field for all subsequent method calls.
Making JMAP API calls
JMAP API calls are POST requests to theapiUrl returned by session discovery. Each request body is a JSON object with a using array (declaring which capabilities you need) and a methodCalls array (the operations to perform).
JMAP client libraries are available for most languages and handle session discovery, batching, and push notifications automatically. Check jmap.io/software for a list of open-source clients and libraries before building a raw HTTP integration from scratch.
Further reading
- jmap.io — official JMAP specification site with guides and client library listings
- RFC 8620 — JMAP core specification
- RFC 8621 — JMAP for email (Mail, Mailbox, Thread, SearchSnippet)

