Blog

What is JMAP email?

JMAP is the open IETF standard (RFC 8620 and 8621) your email apps can use instead of IMAP: JSON over HTTPS, with push and sync built in. What it does, in one opened inbox.

Ethan SchwartzUpdated 24 November 20265 min read

JMAP, the JSON Meta Application Protocol, is how a modern email app talks to your mailbox: one HTTPS connection, JSON in and out, changes pushed to you. It does the job IMAP has done since 1988. The easiest way to see the difference is to open an inbox and watch.

You open your inbox

Your phone wants the twenty newest messages: who sent them, the subject, whether you have read them. Over IMAP that is a conversation. The app logs in, selects the folder, searches it, then fetches the headers for what it found, each step waiting on the one before.

Over JMAP the app sends one request with two instructions in it. The second one says, in effect, "use whatever the first one found". The server runs both and answers once.

One JMAP request: find the newest twenty, then fetch them
{
  "using": ["urn:ietf:params:jmap:core", "urn:ietf:params:jmap:mail"],
  "methodCalls": [
    ["Email/query", {
      "accountId": "A1",
      "filter": { "inMailbox": "inbox" },
      "sort": [{ "property": "receivedAt", "isAscending": false }],
      "limit": 20
    }, "q"],
    ["Email/get", {
      "accountId": "A1",
      "#ids": { "resultOf": "q", "name": "Email/query", "path": "/ids" },
      "properties": ["from", "subject", "receivedAt", "keywords"]
    }, "g"]
  ]
}
The "#ids" line is a back-reference (RFC 8620, section 3.7): the second call takes its ids from the first call's result, in the same round trip.

Then a message arrives

An IMAP app finds new mail by asking, or by holding a connection open per folder and waiting. A JMAP app holds one long-running HTTPS request, an EventSource stream, and the server writes into it when anything in the account changes. The note does not carry the mail. It carries a new state, a short string that says "the inbox is not what you last saw".

The app then asks for the changes since its old state, and gets exactly those: one new message, one flag flipped. In the RFC's own words, push connections "remove the need for polling, and an efficient delta update mechanism ensures a minimum amount of data is transferred". The same trick is what makes a phone that was offline all week catch up quickly. It asks for the difference, not the folder.

Where it came from

JMAP was written at the IETF, the body that standardises internet protocols, with Fastmail doing much of the work. The core specification is RFC 8620 (July 2019) and email is RFC 8621 (August 2019). Contacts followed as RFC 9610 in December 2024; calendars are still an Internet-Draft. JMAP does not replace SMTP: servers still hand mail to each other the old way. It replaces the part between your apps and your own mailbox.

If you want to know who offers it, the list is short and it is in JMAP email providers.

JMAP does not change where your mail goes. It changes how fast your apps find out.
Found this useful? Share it.

A mailbox that already speaks it

Every Faivelo mailbox answers JMAP at mx.faivelo.com with your normal address and password, and IMAP and SMTP stay on for the apps that need them. Unlimited mailboxes, $6 a month for the domain, and a 14-day trial with no card.

Start freeFree 14-day trial. No card needed.

Keep reading