cypht-org / cypht

Cypht: Lightweight Open Source webmail aggregator [PHP, JS]. Supports IMAP/SMTP, JMAP and soon EWS
http://cypht.org
GNU Lesser General Public License v2.1
1k stars 161 forks source link

Viewing a message in Cypht: Make download options simpler to understand (multipart / mixed vs multipart / related vs text / plain vs text / html, etc.) #469

Open marclaporte opened 3 years ago

marclaporte commented 3 years ago

2021-04-17-Cypht-mail-footer

The 3 types of downloads should be handled/presented differently.

1- The actual files that were attached

This is what the user cares about and should notice. In other mail clients that I can think of, this is shown and the others (described next) are hidden. If it's an image, a preview would be nice: https://github.com/jasonmunro/cypht/issues/382

2- Embedded images

Once these are shown via https://github.com/jasonmunro/cypht/issues/467, users can just right-click and "save as" to get them so we may no longer want to keep them in the list. If we do keep, these should be hidden somehow (like in a "Details" tab/section)

3- multipart / mixed vs multipart / related vs multipart / alternative vs text / plain vs text / html vs embedded

Again, this should be hidden in a "Details" section (along with "all headers") as user doesn't need to download if they see the message.

Related: https://github.com/jasonmunro/cypht/issues/468 https://github.com/jasonmunro/cypht/issues/351 https://github.com/jasonmunro/cypht/issues/12

jasonmunro commented 3 years ago

We already have something like this, It does not do everything you suggest but could be something to build on. In Site -> General is the "Show simple message part structure when reading a message" option. I personally want the detailed view of the actual message structure. It is a unique feature most (all?) clients don't offer and while it may be confusing I think it's cool :)

marclaporte commented 3 years ago

OK, so maybe we can flip the option. Put the simple one by default, and have an option "Show advanced message part structure when reading a message" for email geeks :-)