elie222 / inbox-zero

Open source email app to reach inbox zero fast.
https://getinboxzero.com
GNU Affero General Public License v3.0
2.49k stars 254 forks source link

When showing opening an email thread, read emails should be closed #164

Open elie222 opened 6 months ago

elie222 commented 6 months ago

If a user clicks the email it can be expanded. The previous emails in the message shouldn't be displayed by default either. One package to help with this is: https://www.npmjs.com/package/@u22n/mailtools We can help contribute to this package if needed too.

We do have some email parsing functionality in the app already. But it's not used in the Mail client at the moment.

PradhyumArora commented 2 months ago

I'd like to work on this. But why do we need an email parser package to collapse/show previous emails. We're already rendering them.

Screenshot (350)

Also, found this UI issue when opening an email thread. Should I create a new issue for this or consider this part of this issue?

elie222 commented 2 months ago

Yes, you can create a new issue and work on both/either.

I'd like to work on this. But why do we need an email parser package to collapse/show previous emails. We're already rendering them.

Each email usually contains the contents of all the other emails in the conversation. Users do not need to see this. Gmail hides these messages by default like so:

CleanShot 2024-08-01 at 14 22 18@2x

PradhyumArora commented 2 months ago

All right, I'll create a new issue and work on both of them