News for hackers. Stuff that matters.
Re:Ten Years of JMAP by hyhconito on Monday December 23, 2024 @05:46AM (#42493443)
I'm not sure it does if I'm honest. The encapsulation via JSON is quite bad and transactional model of HTTP is non-existent. One of our key problems on our platform is deciding on how to handle failures like that in transactional systems. Email is to some degree transactional due to the distributed state. It's going to get ugly.

IMAP is ugly but that is all well understood.

Re:Ten Years of JMAP by brongondwana on Monday December 23, 2024 @06:54AM (#42493765)
The big benefit with JMAP is the state strings and /changes operation which allows even in the face of failures to recovery quite cleanly. It's really more a data synchronising protocol (RFC8620) with email support on top (RFC8621) and the new protocols coming in.
Re:Ten Years of JMAP by hyhconito on Monday December 23, 2024 @08:17AM (#42494168)
Section 3.10 of RFC8620 scares me. I know a lot about that and a lot of the complexity around that trite point is missing.

Note I've designed and built a complex messaging system that runs over HTTP over unreliable connections and run it in production for 15 years so I know what can and does go wrong.

Popcorn at the ready.

Re:Ten Years of JMAP by Semaphor on Monday December 23, 2024 @09:24AM (#42494566)
It’s not as if Fastmail haven’t run JMAP in production at a pretty big level for quite some time by now.
Re:Ten Years of JMAP by hyhconito on Monday December 23, 2024 @10:43AM (#42495178)
And I dumped them because their client was buggy, doesn’t work offline on mobile devices and I had to use IMAP anyway…
Re:Ten Years of JMAP by spondyl on Monday December 23, 2024 @04:12PM (#42497663)
> doesn’t work offline on mobile devices

To some degree, that isn't true anymore as of last week but of course, you meant when you used it, not generally: https://www.fastmail.com/blog/offline-in-beta/

Re:Ten Years of JMAP by hyhconito on Monday December 23, 2024 @05:52PM (#42498246)
Oh so some of it works offline.

Useless to me. Seriously.

I write a lot of email on planes and do a lot of email management.

All that works on the default Apple stuff as shipped other than account management. Using IMAP and iCal etc.

Re:Ten Years of JMAP by NoahKAndrews on Monday December 23, 2024 @07:27PM (#42498680)
Have you looked at their list of what doesn't work offline? It seems like it's mainly attachment management limitations than limitations of managing the emails themselves.