matcha icon indicating copy to clipboard operation
matcha copied to clipboard

FEAT: Add full-text search across all emails

Open andrinoff opened this issue 7 months ago • 2 comments

Is your feature request related to a problem? No way to search email content. Must manually scroll through inbox. Cannot find old emails by keyword.

Describe the solution you would like:

  • Index email bodies and headers
  • Fast full-text search (subsecond on 10k emails)
  • Search syntax: from:user subject:bug body:fix
  • Incremental search as user types
  • Highlight matches in results
  • Persist search index to disk
  • Update index on new mail

Describe alternatives you have considered: Server-side IMAP SEARCH (slow, limited). Local index provides better UX.

Additional context:

  • Need search engine (bleve, sqlite FTS, or similar)
  • Files: new search/ package, tui/ integration
  • Must handle index corruption gracefully
  • Encrypt search index if encryption enabled
  • Complexity: Very High - search engine integration

andrinoff avatar Apr 16 '26 20:04 andrinoff

This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.

floatpanebot avatar May 17 '26 05:05 floatpanebot

Closing due to inactivity. Reopen if still relevant.

floatpanebot avatar May 31 '26 06:05 floatpanebot