cypht
cypht copied to clipboard
We can now search in a folder. Let's add "include subfolders", "all folders" and special folders (sent, draft, archive, etc.)
The current search in Cypht is quite impressive in that you can search throughout various mail accounts, which is not possible in Roundcube as per: https://github.com/roundcube/roundcubemail/issues/4972
https://github.com/jasonmunro/cypht/tree/master/modules/advanced_search is very powerful, but there is a an issue that you need to indicate each folder you want to search in.
In contrast, here is what Roundcube offers:

So let's add what Roundcube does. And given Cypht's multi-account feature, we can also add:
- Search in all sent folders
- Search in all draft folders
- Search in all archive folders (here subfolders would be useful)
- etc.
It will be really efficient when combined with https://github.com/jasonmunro/cypht/issues/306
Also, there should be a filter for subscribed vs not subscribed, as non-subscribed folders are often more archival and thus, not so interesting to search through (of course, sometimes they are so we still want to be able to) https://github.com/jasonmunro/cypht/pull/622
"Is it too much to ask, for example, for a webmail client with global search? The only one that I found so far is Roundcube, which can do a global search (all parts, all folders) with "just" 4 additional clicks. Why is that? I had a server running Horde Groupware in 2013 that could do that." https://www.reddit.com/r/selfhosted/comments/16d3ae0/the_sad_state_of_selfhosted_webmail/
I agree. We will work on this.
Related discussion in SnappyMail:
- https://github.com/the-djmaze/snappymail/issues/196
- https://github.com/the-djmaze/snappymail/issues/154
I like how Apple Mail handles searches, by presenting a "scope selection" as the search term is being entered.
Selecting a scope is optional, but very intuitive. The tag-based interface is easy to tweak at any time.
And to select the account-level scope, you just swap which "Inbox" is selected in the left column. You can search across all accounts, or a specific one. It's very quick and simple.