Improve layout for grouped message list
Is your feature request related to a problem? Please describe.
During the mail brainstorming session at our Contributor Week 2025, we received feedback that users aren't happy with the grouping of message list by date:
The new layout feels too spacious.
I liked the old layout better, the new dividers are a bit distracting.
Generally the date split is good and helpful, but indeed the way it's implemented is a bit spacious with too much focus on the dividers.
We could reduce the soace a bit, make the dividers habe same text size as the body text. @nimishavijay @kesselb also see Outlook for reference as they use the dividers too. :)
Something that would make it more useful is the possibility to collapse the section (eg. I want to search for something I received yesterday so I can collapse the "Today" section and browse). It's there in other mail clients as well and also I find myself reaching out to do often since this feature was introduced.
Either way we should reduce the font size to regular, and introduce some margin on the left to improve the visual
Here's what it looks like with default font size and padding-left of calc( 2 * var(--default-grid-baseline))
If we add a chevron-down icon on the left and make the whole row clickable it would be on par functionality-wise with other modern mail clients :)
The new layout feels too spacious.
Same as "Reduce whitespace above "Follow up" of https://github.com/nextcloud/mail/issues/11328