Blog

JMAP vs IMAP, in five situations you have been in

JMAP vs IMAP in five real situations: a phone on a weak signal, a laptop back after a week, a strict network, an app you love, and the code you write. Where JMAP wins, and where IMAP is still the answer.

Ethan SchwartzUpdated 27 November 20265 min read

IMAP's first specification came out in 1988. JMAP was published by the IETF in 2019. Both let an app read and organise the mail in your mailbox; neither sends mail between servers. The difference shows up in particular moments, so here are five of them.

On a train, with one bar of signal

Every round trip hurts here. IMAP does things in sequence: select the folder, search it, fetch what the search found, each waiting for the last reply. JMAP lets the app put all of that in one request, with later steps reading the results of earlier ones. RFC 8620 gives the reason in its first section: batching means "reducing round trips and improving battery life on mobile devices". JMAP wins.

Opening a laptop that was shut for a week

An IMAP app has to work out what moved, folder by folder, and many re-check a lot of what they already had. In JMAP every list carries a state string. The app sends the state it last saw and asks what changed since; the server answers with just the created, updated and destroyed ids. A week of mail is a week of mail, not your whole archive again. JMAP wins.

On a hotel or office network that blocks odd ports

IMAP runs on its own ports, 993 for the encrypted kind. JMAP is HTTPS, the same traffic as opening a website, so it goes wherever the web goes. And because one push stream covers the whole account, the app does not keep a connection open per folder. JMAP wins, quietly.

Using the app you already love

Apple Mail, Outlook, the Gmail app and Thunderbird speak IMAP, not JMAP. Thunderbird's JMAP request has been open on its bug tracker since 2016 and is still marked NEW. If one of these is your app, IMAP is what it will use, and that is fine: a good host keeps IMAP on. IMAP, for now. Apps built on JMAP do exist on every platform; JMAP email providers lists who serves them.

Writing code that reads a mailbox

IMAP is a line-based protocol with its own quoting, literals and message sequence numbers that shift as mail is deleted, which is why every language has a library for it and most developers never want to look inside. JMAP is JSON over HTTP with stable ids. Anything that can send a POST request can read a mailbox. JMAP wins, by a lot.

Neither one moves mail between servers. That is still SMTP's job.

The short version: JMAP is the better protocol in four of the five, and IMAP is the one your current app probably speaks. The practical answer is a host with both, so the app decides. Faivelo turns on JMAP, IMAP, SMTP and POP3 on every mailbox; the JMAP settings are one URL, your address and your password.

Found this useful? Share it.

Both protocols, one flat price

Faivelo mailboxes speak JMAP and IMAP side by side, so a JMAP app and Apple Mail can read the same inbox. Unlimited mailboxes on your domain for $6 a month. Try it for 14 days, no card.

Start freeFree 14-day trial. No card needed.

Keep reading