The thing to replace is not so much IMAP (which has its own awfulness of implementation) but RFC822-format mail. It <i>looks</i> easy to parse but isn&#x27;t, giving rise to bugs. Especially if you step outside the ASCII character set. How many of you have an email with a spurious `&gt; From` in the middle because that has been escaped wrongly by something?<p>Besides, JMAP could be consumed directly by web apps.