Searching
From the Terndesk user guide. For anything it doesn't answer, see Help or write to hello@terndesk.com.
Press / and type. Results come from the copy of your mail on your computer, so they appear as you type. The box suggests recent searches, operators, contacts and labels; ↑/↓ move, Tab completes, Enter searches, Esc closes.
Words
- A word matches the start of words in the subject, the sender, the recipients and the text:
invfinds "invoice". Case and accents don't matter. - Several words must all match (in any order and place).
"quoted words"must appear together, in that order.OR(in capitals) between terms finds either:from:sam OR from:priya.-before a term excludes it:invoice -paid,-in:sent.- Brackets aren't supported;
ORsplits the whole search into alternatives.
Unless you say where to look (in:, label:, is:snoozed), a search leaves out Trash and Spam.
Operators
Operator names don't care about case. An operator Terndesk doesn't know is searched as words.
| Operator | Finds |
|---|---|
from:sam | mail from a sender whose name or address starts with the word |
sender:news@example.com | conversations whose latest message is from exactly that address (what a bundle holds). Searched on your computer only; in a rule run as a Gmail filter it becomes Gmail's from:, which matches more loosely than one exact address, and in a Sieve rule it is the From address of each arriving message |
to:sam, cc:sam | mail to or copied to them |
subject:invoice | words in the subject only. Quotes are dropped here: subject:"board deck" finds both words anywhere in the subject |
in:inbox, in:sent, in:trash, in:spam, in:starred, in:unread, in:important, in:drafts | that place |
in:Projects or label:Projects | a label (Gmail) or folder (IMAP) |
in:anywhere (or in:all) | everywhere, Trash and Spam included |
is:unread, is:read, is:starred | unread, read, starred |
is:snoozed, is:reminded, is:muted | snoozed, with a reminder, muted |
is:noreply (or is:awaiting) | conversations where the last message is yours |
is:vip | mail from your VIPs |
is:team | mail from people at your own domain |
is:important, is:notification, is:new-sender | the Important, Notifications and New senders splits |
is:newsletter, is:automated, is:calendar | newsletters, automated mail, invitations |
is:autoarchived | mail your skip-inbox rules archived |
is:aged | mail automatic Get me to zero marked done (Settings → General), while it is out of the inbox |
has:attachment | conversations with attachments |
filename:pdf | an attachment whose name contains the text (so also by type) |
after:2026/01/31, before:2026-03-01 | the conversation's date is on or after / before that day: its latest message, or the time a snooze brought it back (dates are read as UTC) |
newer_than:7d, older_than:2w | the conversation's date (as for after:) is within / older than a period: d days, w weeks, m months (30 days), y years |
larger:5M, size:5M | a message in the conversation is larger than that |
smaller:100K | a message in the conversation is smaller than that |
category:receipts | conversations the AI put in that category (with automatic categorising on) |
Sizes are bytes or K, M, G (with or without B, any case, decimals allowed: 1.5G); 1M is 1,048,576 bytes.
Sent (G then T), and any search with in:sent, lists each conversation by the last message you sent in it, newest first, as Gmail does: the row says who it went to ("To: Dana, Sam") and shows that message's text and time. A reply someone sends later doesn't move the conversation up in Sent (it does in the inbox). Just after updating from an earlier version, Sent may keep the old order for a moment while your sent conversations are dated in the background.
Saved searches
A search you come back to (invoices, a client's project, what you sent and wait on) can be kept. Search for it, then press Save search at the right of its title (or "Save this search" in the palette): give it a name, check the account it searches (one account, or all of them) and press Save.
A saved search looks through all your mail as typing it does, archived and sent mail included: it is not a split, which shows part of the inbox. Pinned ones (the default) are in the sidebar under Saved searches; every one is in the palette as "Saved search: name".
The editor shows the search as text and a short form over it: from, to, after, before, label or folder, has attachment, unread and starred. Changing a field changes the text; anything the form has no field for (words, subject:, -from:, older_than:…) stays as you typed it. A search with OR is edited as text only.
To rename, pin or unpin, move or delete one: right-click it in the sidebar (or press the menu key on it), "Edit saved search: name" in the palette, or Saved searches… in the palette for the list, where Enter opens, e edits, p pins, Alt+↑/Alt+↓ move and # deletes (with Undo).
Saved searches are settings: a settings backup and "Keep my settings in this mailbox" carry them, one by one, so a change on one computer doesn't replace the others. On a computer where the search's account isn't signed in, it says so and searches every account.
Natural-language search (AI)
Type a request such as "invoices from Sam last month" and press Ctrl+Enter instead of Enter. The AI turns it into a search and the title shows both (request → search). This needs an AI provider (see Features → AI).
Older mail on the server
Terndesk keeps a period of mail offline (Settings → General → Keep mail offline for). After the local results appear, a search you type also asks the server for older mail; the top bar says "Searching older mail in Gmail…" or "… on the mail server…" (Microsoft accounts too), and then "account searched". Up to 100 older matches are downloaded and join the results.
The server goes by each message's own date for the date operators, not by the time a snooze brought a conversation back, so a conversation that came back recently can be found there by an older date.
It doesn't ask the server when:
- the search uses something only Terndesk knows:
is:vip,is:team,is:newsletter,is:calendar,is:important,is:notification,is:new-sender,is:automated,category:,is:snoozed,is:reminded,is:noreply,is:muted,is:autoarchived,is:aged,sender:; - the dates searched are all kept offline already, or you keep all mail offline;
- you are offline (the top bar says "Offline mail only").
On IMAP accounts the server search understands words, from:, to:, cc:, subject:, read/unread, starred, the date and size operators, has:attachment (approximately), - and OR; in: and label: pick the folders, and otherwise every folder except Trash and Junk is searched. filename: stays on your computer.
On Microsoft accounts (Outlook.com, Hotmail, Microsoft 365) the server search understands words, from:, to:, cc:, subject:, has:attachment, filename:, the date and size operators and OR. A phrase is searched as its words. Read/unread, starred, in: and label: (a folder or a category) and - are checked on your computer for each match, and Deleted Items and Junk Email are only searched with in:trash, in:spam or in:anywhere. Single letters, and/or/not and addresses with a + aren't sent either. A search of nothing but those (is:unread on its own, in:Projects, -from:jo) stays on your computer. Microsoft finds whole words and the start of words, not the middle of one: filename:port doesn't bring an older report.pdf, filename:report does.
Searching files
Files (G then F) has its own search box for attachments: words in the file name, from:, after:, before: (in your local time) and newer_than:. Anything else is read as part of the file name. With searching inside attachments on (Settings → General), T makes the words search the text inside PDFs and text files on this computer instead of the names (see Files in the features guide).
The guide
This is the user guide built into Terndesk, as of version 0.2.21 (f66f67b3). In the app, it's Help: the user guide in the command palette, and it reads offline.