fulltextsearch
fulltextsearch copied to clipboard
Search in Mails via MailApp
Is it possible to search contents and attachments of mails that are connected via the mail app of nextcloud? That would add a great feature, if not implemented.
You means, searching directly inside your mails, or using the search engine from the Mail App to display results ?
I just tested the search function of the mail app. IMO this searches
- In Email Text
- In Header fields
- haven't tested subfolder support
I think a possibility to also search attachments in emails would be great. To simplify the user experience it would also be great to unify the display of cloud file results (fulltext, provided by nextant) and mail search results.
I was using a desktop search engine awhile ago. That was able to search that way (filesystem and Outlook emails including attachments) and it was a great pleasure to find stuff at work.
This would basically just be another fulltext provider app (for IMAP). Could be based on
- https://qbox.io/blog/indexing-emails-to-elasticsearch-logstash-imap
- https://stackoverflow.com/questions/45284517/ingest-email-attachments-on-elasticsearch
Regarding the current search in the mail app: yes, it allows to search for a keyword, but as soon as you enter two keywords for example, it would not search for it via OR or AND but only as one string. Searching for "develop software" searches for exactly this string, instead of "develop AND software" or "developer OR software".
So yes, would definitely be nice to have for people using the web mail client. Gmail does a pretty good job with fulltext search incl. searching in attachments.
There is also other advantages indexing mails in elasticsearch.
Yes definitely. When it's indexed standardized you can do nice things like facet search, when the search ui improves over time.
Any progress on this? Users have expressed default search for mail severely lacking and looking for a replacement.