OmniSearch for Thunderbird 0.9.0
by CR0CKER
Fast, typo-tolerant email search with its own index. Finds mail Thunderbird's built-in search misses, ranks the best matches first, and filters by date or sender. No internet access — everything stays on your computer.
About this Add-on
It keeps its own search index instead of relying on Thunderbird's built-in search (Gloda), which often fails to find messages that are clearly there, including mail you sent yourself. OmniSearch builds a separate index and keeps it current as your mail changes, checking for anything it has not seen yet rather than waiting to be told.
Finds the right email quickly
- Ranks the most relevant messages first, giving extra weight to matches in the subject, sender, and recipient over matches deep in the body.
- Favours recent mail, so of two comparable matches the newer one comes first. Where you matched still counts for more: a years-old email with your search word in its subject stays above one from today that only mentions it in passing.
- Tolerates typos, so "reciept" still finds "receipt".
- Searches as you type and matches partial words ("invo" finds "invoice").
- Finds mail that Thunderbird's own search misses.
Narrow a search by date or sender
- Add filters to any search, or use them on their own, for example: invoice from:alice@corp.com date:2024-06..2024-07
- date:2024-06 is that whole month, date:2024 the whole year, date:2024-06-15 that one day, and date:2024-06..2024-07 covers June and July inclusive.
- after:2024-06 starts at 1 June; before:2024-06 runs to the end of 30 June. One rule covers all of it: a date means the whole period you named, and after: starts at its beginning while before: runs to its end, so you never have to name a month you do not want.
- from:alice and to:bob match the sender or recipient only, not the message body.
- newer_than:7d covers the last seven days; older_than:1y everything older. Units are d, w, m and y. Or name a period: date:today, date:yesterday, date:this-week, date:this-month, date:this-year.
- Write dates year first (2024-06-07), or spell the month in whatever order comes naturally: 7 july 2024, july 7 2024, July 7, 2024 and july 2024 all work, without quotes, in English, German, French and Spanish.
- Each filter you apply appears as a chip under the search box showing the dates it actually resolved to, so a range that came out wider than you meant is visible before it hands you the wrong mail. Click a chip to remove it. While the box is empty, the line beneath it offers the available filters with an example of each, so you can find them without reading any documentation.
- A date like 7/6/2024 is refused with an explanation rather than guessed at, because it means 7 June in Europe and 6 July in the US and search results give you no hint that the wrong month was picked. Anything that cannot be understood is reported, so a filter is never dropped silently.
Cleaner results
- Ignores quoted replies when indexing, so a long back-and-forth thread does not flood your results with the same text repeated in every reply. Works with the common reply and forward styles from Gmail, Apple Mail, Outlook, and Thunderbird, including German, French, and Spanish wording.
- Shows each Gmail or IMAP message once, even when it appears in several places at once (for example both All Mail and Inbox), and lists every folder it lives in.
- Each result shows the sender, date, folder, and a short preview.
- Tells you how many messages matched in total, and loads more as you scroll, so you can tell a complete result set from a truncated one.
Two ways to search (your choice in Settings)
- A toolbar popup that drops down from the toolbar button.
- A centered window that opens in the middle of the screen and grows as results appear. Either one opens from the toolbar button or the Alt+S shortcut, and you can work entirely from the keyboard.
Stays up to date on its own
- Updates the index automatically as mail arrives or is moved, copied, edited, or deleted.
- Also checks for anything those updates missed, when Thunderbird starts and once a day after that. Mail that arrived while Thunderbird was closed, mail filed straight into a folder by a server-side rule, and mail you sent do not always announce themselves, so OmniSearch asks for anything newer than the last message it indexed rather than waiting to be told.
- "Verify and repair" re-checks every folder against the index and fixes any differences, for the occasional case the daily check cannot see, such as old mail imported or moved in with an original date far in the past.
- The index is saved to disk and loads quickly, so search is ready almost instantly after you restart Thunderbird.
Private by design
- No internet access at all. Your mail and your search index never leave your computer.
- Encrypted email (OpenPGP and S/MIME) is indexed by subject and sender only by default; its decrypted contents are never written to disk unless you choose to turn that on.
Tip for IMAP accounts: a message body must be downloaded to your computer before it can be indexed. Messages you have not opened yet are indexed by header only (shown with a "header-only" label). To make every IMAP body searchable, enable keeping messages on this computer in Account Settings, then rebuild the index.