TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Making email more modern with JMAP

327 pointsby mfschalmost 6 years ago

21 comments

jivingsalmost 6 years ago
It will be interesting to see how this develops.<p>I&#x27;ve spent the last month implementing and testing IMAP support for my app [1].<p>It has... not been very fun.<p>Before we were limited to providers with a REST API, so implementing IMAP should in theory allow us to support a much wider range of email servers with a much lower support burden.<p>Although the protocol spec is tight, it seems like some providers randomly bug out or hang [2], respond with custom error messages, offer bespoke functionality [3], or generally don&#x27;t comply with the spec in breaking ways [4].<p>As a result I&#x27;m more worried about this going forward than I had hoped.<p>I&#x27;ll now also happily support anything that can help modernize email, so I&#x27;ll apply to the developer program and will be watching JMAP closely.<p>[1]: <a href="https:&#x2F;&#x2F;leavemealone.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;leavemealone.app&#x2F;</a><p>[2]: Yahoo Mail always down (<a href="https:&#x2F;&#x2F;downdetector.com&#x2F;status&#x2F;yahoo-mail" rel="nofollow">https:&#x2F;&#x2F;downdetector.com&#x2F;status&#x2F;yahoo-mail</a>)<p>[3]: <a href="https:&#x2F;&#x2F;developers.google.com&#x2F;gmail&#x2F;imap&#x2F;imap-extensions" rel="nofollow">https:&#x2F;&#x2F;developers.google.com&#x2F;gmail&#x2F;imap&#x2F;imap-extensions</a><p>[4]: <a href="https:&#x2F;&#x2F;github.com&#x2F;mscdex&#x2F;node-imap&#x2F;issues&#x2F;775" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mscdex&#x2F;node-imap&#x2F;issues&#x2F;775</a>
评论 #20722294 未加载
评论 #20723789 未加载
评论 #20722609 未加载
评论 #20722465 未加载
评论 #20723871 未加载
Sir_Cmpwnalmost 6 years ago
Though I have no complaints about the way they went about implementing it (open standards hooray!), as a mail client author and someone with lots of experience with mail in general - I&#x27;m NACK to JMAP. I think that it comes with some questionable design decisions (HTTP? JSON?) which on their face I imagine look fine to the typical HNer, but in many ways is a regression from IMAP. I would prefer to see the limitations of IMAP addressed with a few carefully written extensions to the spec - which is already extensible and has a thriving set of useful extensions in the wild.<p>By no means is IMAP a particularly good protocol, but it is extremely broadly supported and designed more with email in mind than JMAP appears to be, which seems to focus more on bringing shiny web tech to email regardless of its utility in such a context. It&#x27;s also one of many closely interlinked mail-related specifications, and JMAP fails to integrate well with many related specs imo.
评论 #20722600 未加载
评论 #20724214 未加载
评论 #20722571 未加载
评论 #20722510 未加载
评论 #20723007 未加载
inputmicealmost 6 years ago
Pretty cool protocol. I&#x27;ve been following this for a couple of years. I had already written a library for an earlier version of JMAP (back then references worked differently &#x2F; didn’t exist); and it was interesting to see how that improved in the IETF process. I wrote a library [1] and a POC email client for Android [2] earlier this year. It takes a moment to fully understand a now fairly complex protocol but when you get the hang of it it becomes very powerful.<p>Sadly the server support isn’t really there yet. The support for Cyrus hasn’t been released yet (you need git) and some vital functionality like push [3] is still missing. Also no word from Dovecot yet.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;iNPUTmice&#x2F;jmap" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;iNPUTmice&#x2F;jmap</a><p>[2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;iNPUTmice&#x2F;lttrs-android" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;iNPUTmice&#x2F;lttrs-android</a><p>[3]: <a href="https:&#x2F;&#x2F;github.com&#x2F;cyrusimap&#x2F;cyrus-imapd&#x2F;issues&#x2F;2714" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cyrusimap&#x2F;cyrus-imapd&#x2F;issues&#x2F;2714</a>
评论 #20724243 未加载
评论 #20723776 未加载
psim1almost 6 years ago
I&#x27;m a believer in open protocols, but in recent years, I&#x27;m also loving Exchange and ActiveSync. I know that&#x27;s not going to be a popular opinion here. To be honest, I don&#x27;t know much about how the magic works, but the configuration is simple, the push is reliable, and everything just works. It doesn&#x27;t drain my mobile and it doesn&#x27;t lose its indexing and download for hours like IMAP always seems to. And besides, it&#x27;s mature -- Exchange and EAS have been around for many years.<p>So here&#x27;s to JMAP becoming the open standard that replaces that.
评论 #20725435 未加载
jchookalmost 6 years ago
I dislike the details of JMAP’s design.<p>While I appreciate the value it brings, I can see the 5 years of struggle in the sheer size of the multiple specs needed to define some pretty rudimentary mail client&#x2F;server functionality (retrieve, send, push, pagination, etc).<p>At some points they use JSON (a data format) to describe procedures... like a programming language written in JSON. It feels a bit like using a screwdriver handle as a hammer.<p>How did we end up with JMAP instead of something simpler or modular, especially with GraphQL and other similar innovations on the radar?
评论 #20724934 未加载
mfschalmost 6 years ago
From what I gather it should be possible to use 2FA with JMAP. I‘m looking forward to no longer having to decide between using third-party email clients and properly securing the account that’s probably most worth securing.
评论 #20721844 未加载
评论 #20723612 未加载
评论 #20722622 未加载
aquabeaglealmost 6 years ago
Fastmail should throw some engineering resources towards implementing JMAP support in some mail clients like Mutt.
评论 #20722055 未加载
评论 #20724052 未加载
评论 #20723024 未加载
评论 #20721663 未加载
rouncealmost 6 years ago
One thing I find weird (probably because I’m new to JMAP and still ignorant) is having <i>position</i> AND <i>anchor</i>+<i>anchorOffset</i>. Why have both? Surely the latter is sufficient and safer (as any <i>position</i> is only guaranteed to be valid when the last response was written)? From a glance of the spec I didn’t see any explanation of why. If anyone could shed more light it’d be much appreciated.
评论 #20723870 未加载
wruzaalmost 6 years ago
I read imap description long time ago, and I know what it does in principle (along with issues itt), but can someone explain what value does it serve today? I have two confusing thoughts.<p>First, imap seems to be an overkill for a line wider than 64kbps. Texts do not consume much traffic and an entire mailbox can be served easily to everyone. There are some huge mailboxes out there, but messengers have this problem too and they solve it somehow (I suspect trivial &amp;last_date=... from programming tg bots).<p>Second, and this may be due to bad clients (haven’t seen good however), imap is just sloooow. It doesn’t update instantly, but instead I have to enter every folder and pull down with my finger to update it. It can show outdated messages which I deleted on a pc <i>for ten seconds</i> before it figures out that they were deleted. My guess that it has something to do with an infinite number of roundtrips which this protocol is based on. Occasionally it shows N unread when there is none. Even push notifications fail to work properly most of the time (same server-side issues?) And with all these complications, I still have to download every attachment by finger. How come that heavy sites&#x2F;forums&#x2F;boards&#x2F;messengers always instantly show new data and mail cannot? I know that I can simply use webmail, but wtf?<p>I’m a developer, but when I see software, I always try to evaluate it from user-only perspective. And from that, mail tech seems simply incompetent. I wish there was a port smtp-&gt;tg and tg-&gt;smtp, and special per-subj chats, so I could leave all that legacy for someone else to deal with and just talk to them without missing messages or <i>waiting</i> for updates.<p>(Not even considering mail message formatting, spam mismatches, size restrictions and non-delivery laws)
评论 #20723647 未加载
thelittleonealmost 6 years ago
&quot;Modern&quot;, the darling adjective of startup lingo. We thank you for your service and efficacy. It&#x27;s time to abdicate the throne. All hail &quot;more modern&quot; the rightful heir, protector of the realm.<p>Pre-modern -&gt; modern -&gt; more modern -&gt; post modern?<p>Jokes aside I enjoyed the experience of Fastmail with the exception of the migration tools. Very responsive. Kudos for submitting JMAP as an open standard.
gumbyalmost 6 years ago
I believe the filtering is for user-initiated search, right?<p>Would be nice to have some standardized support for sieve-like server side prefiltering. That&#x27;s how I sort my mail into mailboxes, send spam (labeled elsewhere) to the spam trap, and the like.
评论 #20722628 未加载
chiefalchemistalmost 6 years ago
I didn&#x27;t see anything about security. I understand sending is outside the scope. But if storage and downloading is to be portable, doesn&#x27;t encryption have a place?
评论 #20723291 未加载
verisimilitudesalmost 6 years ago
So, how long until everything is JSON-shit over port 80 and how long until port 80 is old news and only port 443 is used for anything and everything? I can&#x27;t claim to be familiar with IMAP, but it can&#x27;t be worse than this garbage that requires an HTTP client and a JSON parser.<p>To process JSON, you must inspect every character, which is reason enough it&#x27;s an awful &#x27;&#x27;format&#x27;&#x27; that only an ignorant could hold dear. Douglas Crockford brags about how smart he is for disallowing comments, but there&#x27;s whitespace allowed everywhere. Let&#x27;s not forget this asinine integer nonsense, because JavaScript lacks real integers.<p>I&#x27;m sure most people think HTTP clients and JSON parsers are standard-library affairs, nowadays, though; let&#x27;s just entirely ignore matters of licensing and whatnot.<p>It&#x27;s disgusting to see this as an IETF standard, but people have been complaining about how that moves along for decades; take a look at Google&#x27;s robots.txt &#x27;&#x27;standard&#x27;&#x27; that doesn&#x27;t do anything useful and effectively makes every existing file standard, rather than do much of anything worthwhile. The WWW and JavaScript are nothing more than a continuation of this worse-is-better filth that UNIX and C previously championed; decades ago, the IETF revised the RFC for the Finger protocol and warned about security, solely because some idiot wrote a shitty Finger server in C; now, we have useless and unnecessary standards such as this that only serve to further this next generation of idiocy.<p>I wonder when all of this will finally collapse under its own weight.
评论 #20722638 未加载
评论 #20723020 未加载
dbg31415almost 6 years ago
So a few years back, everything was super fast on IMAP on my phone. But now it just crawls. On the Gmail App it&#x27;s still pretty fast. So I just assumed it was slow because Google was being a dick and trying to get people to use their app instead of Apple Mail or Outlook. Is the protocol slow, or is Google throttling it?
评论 #20721693 未加载
评论 #20722108 未加载
评论 #20722097 未加载
评论 #20722365 未加载
评论 #20721673 未加载
评论 #20722642 未加载
cotellettaalmost 6 years ago
Give me the speed of fastmail with the encryption of protonmail, make the two talk to each other out of the box, and actually make something new instead of just the same old thing.<p>Actually, loan some of your devs to protonmail because both their mobile app and their imap bridge are embarrassing.
0x0almost 6 years ago
They list the wrong RFC number &quot;8261&quot;, but the linked RFC is actually &quot;8621&quot;.
评论 #20724322 未加载
Nasreddin_Hodjaalmost 6 years ago
<a href="https:&#x2F;&#x2F;jmap.io&#x2F;#push-mechanism" rel="nofollow">https:&#x2F;&#x2F;jmap.io&#x2F;#push-mechanism</a> JMAP going to use rfc8030 push for mobile (3rd party service for notifications, really?) and EventSource (kind of http long polling) for desktop clients, as I understood. I don&#x27;t like that idea, it&#x27;s even worse than IMAP4 IDLE. Why not just WebSockets for mobile and desktop clients?<p>Or just building it on top of XMPP protocol (or any other chat protocol).
评论 #20724258 未加载
评论 #20724298 未加载
akulbealmost 6 years ago
Is the protocol itself important to users? or is it mostly important just to developers?<p>If it makes a practical difference to a user, how so?
z3t4almost 6 years ago
Lets ignore the biggest issue (spam) and focus on the bike shed.
评论 #20725647 未加载
NetOpWibbyalmost 6 years ago
FINALLY
simplecomplexalmost 6 years ago
Super happy customer of Fastmail of 7 years now.<p>It’s a joy to use. Fast, responsive, and reliable. No pointless redesigns or 10 second loading screens like gmail.
评论 #20722102 未加载