HasChildren could have been Parent, HasNoChildren could have been Leaf or Child. And so many more things.
HasChildren could have been Parent, HasNoChildren could have been Leaf or Child. And so many more things.
A modern replacement (JMAP) hasn't been adopted by major providers.
If you really cared about data transfer size you'd use something like Protobuf.
Maybe they thought the same when they were designing the protocol.
Also, in the context of email, given the size of each mail (including headers and body), these bytes "waste" maybe insignificant.
Kind of a surprising observation given the first spec (IMAP2) was released in 1998, when dial-up was still a thing:
* https://datatracker.ietf.org/doc/html/rfc1064
IMAP4 was in 1994:
* https://datatracker.ietf.org/doc/html/rfc1730
ITU V.32 gave us 9.6 kbit/s in 1998, and V.34 was 28.8 kbit/s in 1994:
* https://en.wikipedia.org/wiki/List_of_ITU-T_V-series_recomme...
It might have mattered back then but now it would be less than a rounding error.
The bigger benefit of JMAP is it's well designed for dealing with deltas and changes and syncing data requiring less roundtripping than IMAP.
Actually having a email client software running on your machine is extremely nitch and is mostly in the realm of self-hosters and legacy holdouts that won't let their clients go.
A most advanced modern approach is to just use POP3 to download your emails to a local Maildir and have them indexed there non-destructively. And then sync between your various machines that you want your email accessible using some sort of file sync or P2P solution.
I use notmuch for this. It automatically indexes and tags emails and thus enables much more advanced email management solutions then what can be offered over something like IMAP.
The main advantage of this is that 'folders' are managed virtually. There is no shuffling or copying or editing of emails done normally. I only have to worry about backing up my emails and notmuch config as all the rest can be regenerated relatively quickly.
This is more or less replicating what Gmail and other webmail providers do server side.
Where as the traditional approach shuffling and moving and deleting of emails on some imap server is fairly dangerous and expensive operation. Mistakes can lead to data loss and are often very difficult to reverse.