fulltextsearch icon indicating copy to clipboard operation
fulltextsearch copied to clipboard

Search in Mails via MailApp

Open maldag opened this issue 7 years ago • 6 comments

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.

maldag avatar Mar 07 '17 07:03 maldag

You means, searching directly inside your mails, or using the search engine from the Mail App to display results ?

ArtificialOwl avatar Mar 08 '17 02:03 ArtificialOwl

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.

maldag avatar Mar 08 '17 06:03 maldag

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.

mathiasconradt avatar Feb 09 '18 14:02 mathiasconradt

There is also other advantages indexing mails in elasticsearch.

ArtificialOwl avatar Feb 09 '18 17:02 ArtificialOwl

Yes definitely. When it's indexed standardized you can do nice things like facet search, when the search ui improves over time.

mathiasconradt avatar Feb 09 '18 18:02 mathiasconradt

Any progress on this? Users have expressed default search for mail severely lacking and looking for a replacement.

JD2005L avatar Oct 14 '21 20:10 JD2005L