mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 21:15:56 +03:00
[GH-ISSUE #676] We can now search in a folder. Let's add "include subfolders", "all folders" and special folders (sent, draft, archive, etc.) #440
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#440
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marclaporte on GitHub (Feb 22, 2023).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/676
Originally assigned to: @mercihabam on GitHub.
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:
It will be really efficient when combined with https://github.com/jasonmunro/cypht/issues/306
@marclaporte commented on GitHub (Feb 23, 2023):
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
@marclaporte commented on GitHub (Sep 9, 2023):
"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.
@marclaporte commented on GitHub (Sep 9, 2023):
Related discussion in SnappyMail:
@TheDigitalOrchard commented on GitHub (May 25, 2024):
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.
@mercihabam commented on GitHub (Nov 12, 2024):
A search in all folders has been implemented: https://github.com/cypht-org/cypht/pull/1337.
Note that it will be quite slow for large mailboxes due to IMAP limitations, as it cannot handle a search operation across multiple folders in a single go. For now, we have to go through each folder manually and gather results from each one.
@marclaporte commented on GitHub (Aug 29, 2025):
Related discussion: https://github.com/cypht-org/cypht/pull/1582