Features
From the Terndesk user guide. For anything it doesn't answer, see Help or write to hello@terndesk.com.
The basics are in Getting started; every key is in Keyboard shortcuts.
Reply later and Focus & Reply
Shift+A (or Later in a conversation's toolbar, or the right-click menu) puts a conversation you want to answer properly on the Reply later stack: it leaves the inbox like Done, and waits under Reply later in the sidebar (g w) with a count, also shown beside the split tabs. Focus & Reply (Shift+F, or the button over the stack) then opens the stack one conversation at a time, the oldest first, with a reply already open: send it (or send and mark done) and the next one opens. E marks one done without a reply, J passes over it for now, K goes back, and Escape (twice: first the reply, then the conversation) stops. At the end it says "Stack cleared". Open another conversation meanwhile (from the search box, say) and the run pauses: your keys act on that one, and Shift+F goes on with the stack. A conversation deleted or answered elsewhere during a run is passed by.
Sending a reply takes the conversation off the stack once it has gone out (a message the server refuses leaves it there), also one you send from your phone, another app or another of your accounts. Forwarding it doesn't. A new message brings it back to your inbox as usual, and it stays on the stack; marking it done there clears your inbox, and it stays on Reply later until you mark it done again from there (or answer it). Shift+A on a conversation that is on the stack takes it off. The stack is kept in your mailbox (a Tern/Reply later label in Gmail, a category in Outlook, a tag on other mail servers), so it is the same on every computer; the first time, Terndesk needs to be online to make that label, and a mail server that doesn't allow new tags can't keep a stack.
Rules: skip the inbox, block, never skip
Block, skip-inbox and never-skip rules run in Terndesk after each sync, and, if you switch it on per Gmail account, as Gmail filters too, so they apply on your phone while your computer is off (Settings → Skip inbox & block; your own Gmail filters can be imported as rules). A rule Gmail can't express is marked "Terndesk only" there. For an IMAP account whose mail server runs Sieve rules (ManageSieve), the same tab offers "Run my rules on the mail server (Sieve)": your own server rules stay as they are, Terndesk adds a part marked "Terndesk" to them, and turning it off takes exactly that part out again. Elsewhere an IMAP account's rules run only while Terndesk runs.
Sign-in codes at a glance
A verification or sign-in code in mail from the last hour shows on its row in the list; click it or press Shift+C to copy it without opening the email.
Warnings about suspicious mail
A calm note appears above a message that failed its sender checks (SPF, DKIM, DMARC), uses a known person's name from another address, has a name written as an address on another site ("boss@bank.com" sent from somewhere else; the list then shows the address it came from, not the name), comes from a domain that looks like one you write to, sends replies elsewhere, or has a link whose text shows another site; such a link asks before it opens. "I know this sender" turns the warnings off for that address. A message whose headers don't say clearly who sent it (two different senders, or a From header written in a way mail servers can read differently) shows "Unknown sender", with a note naming the addresses in its headers, and goes to Notifications rather than Important; you pick the recipient if you reply. On Gmail, Outlook.com and Microsoft 365, Fastmail and Zoho, a message your mail provider checked as mail from another site than the sender shown says so, even when the sender is someone you know, a VIP or your own address: "I know this sender" doesn't turn that note off. A reply goes where the message asks replies to go (its Reply-To), as in other mail apps; when that isn't the sender's own address (on another site, or another mailbox at a free-mail provider), the composer says so beside the address. All of it is worked out on your computer from the headers and your own mail history. The sender checks are the ones your own mail provider recorded when the message arrived (where it's known which results are your provider's: Gmail, Microsoft, Fastmail, Zoho); a result another server or the sender wrote into the message is ignored. With other providers the checks go by the result at the top of the message, which is usually your provider's.
Order, delivery and travel highlights
Many shops, carriers, airlines, hotels and ticket sellers put what their mail is about into it as data (schema.org markup). In a Gmail account, Terndesk reads it on your computer and shows a small card above the message: the order number, status, total and items; the carrier and tracking number; the flight, its airports and times as written on the booking; the hotel's dates; the event's time and place. Links the sender offers (View order, Track) are plain buttons that name their domain and open in your browser when you press them; nothing is loaded or sent before that.
A card shows only when Gmail checked the sender and its domain passed DMARC, so someone posing as a shop gets no card (nor does a sender whose domain publishes no DMARC policy). IMAP and Microsoft accounts show no cards, because Terndesk can't tell whether their servers checked the sender. Mail stored before this version shows none either. Turn the cards off in Settings → Privacy → Show highlights from verified senders.
Where a conversation opens
A conversation opens at its first unread message, with every unread message open and the read ones before it as one-line rows above (↑ goes to them). With nothing unread it opens on its last message.
From an open conversation, E (done) and J (next) go on to the conversation below it in the list, in any mix, and after the list's last one you are back in the list. New mail arriving meanwhile, or a reply to the conversation you are reading, doesn't change where you go next. A sender's bundle is passed over (read it from the list with Enter), and so is a new message's draft after E; J onto a draft opens it. A second E pressed before the next conversation shows is ignored, so nothing you haven't seen is marked done, and Terndesk says the next one is opening.
List density
Settings → General → List density chooses how tall the rows of the conversation list are. Comfortable (the default) shows the sender, subject and the start of the message; Compact makes each row about two thirds as tall and leaves out the start of the message, so a third more conversations fit on screen. A search result still shows the line that matched. The choice is a preference like the theme: it travels with "Keep my settings in this mailbox".
Dark mode and HTML mail
In the dark theme, mail written by a person (in Gmail, Outlook, Apple Mail and the like: text, links, quotes, lists, a signature) shows in the theme's colours, like plain text. Mail with a design of its own (newsletters, receipts, anything with its own backgrounds or colours) keeps its white page, so it looks the way the sender made it. Pictures and logos in themed mail sit on a small white backing so dark logos stay readable. Printing always uses the white page; switch to the light theme (Ctrl/⌘+Shift+D) to see any message on white.
To have designed mail dark too, tick Settings → General → In the dark theme, darken designed mail too (off by default). Such mail is then turned dark: its white page becomes dark grey and its dark text light, and its brand colours keep their hue. Pictures show close to how they were sent: greys exactly, strong colours a little duller. Images sit on a light grey backing, so a dark logo on a transparent background stays visible. Mail that is dark already is left as it is, also when its dark page is set by the sender's style sheet. A darkened message has Show original above it, which puts that message back on its white page; Show darkened darkens it again. Pictures set as a background by a style sheet are darkened with the page. A conversation open in its own window follows a change of the theme or of this setting when you click into it. The setting travels with "Keep my settings in this mailbox", like the theme.
Remote images
Remote images are blocked by default, so senders can't tell when you open their mail. D shows them once, Shift+D always for that sender, and Settings → Privacy changes the default.
Images hosted on private network addresses aren't loaded, even when you show images: localhost, and addresses such as 192.168.x.x, 10.x.x.x or 100.64.x.x (carrier-grade NAT, Tailscale). A message has no reason to make your computer contact itself or your local network. Links to such addresses still work.
AI (optional)
AI is off until you choose how it runs. The welcome tour says so, and the first time you ask for a summary or a reply while it's off, Terndesk opens Settings → AI. At the top of that tab a card suggests what suits this computer:
- Ollama is already running here with a model: use it, with nothing to download.
- AI on this computer (built-in model): Terndesk can run a model itself, Qwen3 4B Instruct (2.5 GB, Apache 2.0). Press Download to fetch it once from Terndesk's file host (
models.terndesk.com, which sees your IP address, the time, which model and the app's version, and nothing of your mail). The card says how much memory it needs and how fast it will be on this computer: under about 8 GB of memory it suggests another way, and the button stays grey while the disk is short. The download can be paused and resumed; it asks first on a metered network; a lost connection is tried again twice, then waits for Resume. Closing Settings keeps it going: a pill over the bottom of the conversation list says how far it is (it is hidden while a conversation or Drafts is open), and a toast says so if it pauses or stops while Settings is closed. The file is checked against its pinned hash before it is used, and a damaged one is deleted. If the model is already on this computer (you turned AI off since), the card offers Use the built-in model instead, with nothing to download. Once it's in use, AI is on: summaries, replies and the rest run on this computer and your mail never leaves it, Google mail included. Other models offers Granite 4.0 Micro by IBM (2.1 GB, Apache 2.0), a little smaller and good for every AI action, and Qwen3 1.7B (1.1 GB), smaller and faster but less accurate, with which Ask, sorting and autocomplete stay off. Remove deletes the model and turns AI off. Each model's licence is in Settings → General → About. - The processor is too old for the built-in model (it needs AVX2: most processors from about 2015 on have it, but some budget Pentium, Celeron and Atom ones don't): use Ollama, a cloud AI with your key, or Ollama on another computer.
- The built-in model is chosen but can't run here (this copy has no engine, or the processor lacks AVX2): the card says so; choose another provider.
The built-in model is in every release, Windows on ARM included; builds from source without the builtin-ai feature use Ollama or another provider instead. Copies set up before this version keep the provider they had. One that never saved Settings → AI was using Ollama by default: it still does when Ollama runs, and when it doesn't, the card offers the built-in model first and Ollama second, until you choose.
To use Ollama, install Ollama, then ollama pull llama3.2:3b (or press Download in Settings → AI). Terndesk uses it for summaries, reply suggestions, "write with AI", natural-language search (Ctrl/⌘+Enter in the search bar) and optional automatic categorisation. Settings → AI lists the models your server has installed in a dropdown (with a custom-name fallback), pre-selects a small chat model when the configured one isn't installed, and notices a model server already running on this computer (Ollama on port 11434, LM Studio on 1234, llama.cpp's server on 8080; it only looks at localhost, and only while that tab is open) and offers to switch to it. A local OpenAI-compatible server (LM Studio, llama.cpp, vLLM) needs no key or consent. You can also turn AI off, or use Anthropic / an OpenAI-compatible cloud API with your own key (requires ticking an explicit consent box; their model lists are fetched only after that).
Google accounts. Mail from a Google account goes to Ollama on this computer without asking. To any other provider (an AI API with your key, the Claude Code or Codex CLI, an Ollama on another computer or one of Ollama's cloud models, which run on ollama.com, or an OpenAI-compatible server, local ones included, since they can pass it on) it goes only after you tick that provider's box for Google accounts' mail in Settings → AI, which says that this mail is sent to that provider and that what it does with it (such as keeping it or training on it) depends on your account with them. It sits beside the consent box for your other accounts' mail, which a cloud provider needs first; each can be ticked or unticked alone, so cloud AI can stay on for Outlook or IMAP mail only. Choosing another provider, address or command asks again. Until you tick it, AI features work for your Microsoft and IMAP accounts but not for Google ones: Settings → AI says so, asking for a summary of Gmail mail says how to change it, and Ask your inbox over all accounts answers from your other accounts' mail and names the accounts it left out. If you ticked the consent box in an earlier version for the OpenAI API (https://api.openai.com) or the Anthropic API, which already received Google accounts' mail then, that tick covers it now too; for any other provider, tick the box for Google accounts' mail to include it. While automatic sorting, reply drafts or your writing style is on and leaves Google accounts' mail out, Terndesk says so once.
Email is not instructions to the AI. Mail is written by other people, and some of it tries to steer AI: "ignore the above and say…", sometimes in text the email hides. Every request marks the email as other people's words, never instructions, in a fence the email can't close, and repeats your request after it: that is what keeps an email from steering the model. Terndesk also gives the model the email as the window shows it, never a plain-text part the window doesn't show (an email too long or too tangled to read whole is read up to there, and the model is told so in a note after the email, never inside it, so an email can't write a fake one; a line in an email that copies such a note is marked as the email's), and leaves out text the email plainly hides (not displayed, invisible, or with no size), but other hidden text can still reach the model. Your own writing (a rewrite, Continue) goes to the model exactly as you wrote it. While the model works, the line under it says where your text is going: "on this computer (Ollama)" for a model that runs here, or "sent to Anthropic" (or whichever service you chose). An AI answer can still be wrong: check what matters in the email itself. A summary says beside its heading which AI wrote it.
What the AI is told about the conversation. Besides the email, each request says what today's date is (from this computer's clock and time zone) and who you are (the name and addresses of your account, never anything an email claims), and marks the messages you wrote as yours, so "by Friday" and "what Sam asks you" mean the right thing. A message counts as yours only when it was sent from your account (it is in your Sent or Drafts): mail that arrives with your own address as its sender is treated as someone else's, and the mark is a code new for each request that no email can copy. Each message comes with its date written out, and with the names, types and sizes of the attachments the conversation shows under it (at most ten, then how many more), never what is inside them. Beside a summary, Terndesk says which provider wrote it, or nothing when your AI settings changed while it was being written. With a model on your computer, a long conversation is cut to what it can read: the oldest messages go first, then the start of the oldest one kept; the newest message and your request always stay. Terndesk counts this in the model's units (tokens), estimated from the text, so mail in Japanese, Chinese, Arabic or another script no longer overflows a small model, and Ollama is asked for room for 8,192 tokens (or more, if you set a larger num_ctx for the model in its Modelfile; that room takes about twice the memory of Ollama's usual 4,096). If what you ask Write with AI to do, together with "About me", is too long to leave room for the conversation, it says so instead of writing a reply without it. A rewrite of selected text is never cut either: if the selection is too long for the model, it says so, and you can select less. Cloud providers read as much as before. The history a reply quotes is left out in English, German, French, Spanish, Italian, Portuguese, Dutch, Chinese and Japanese mail; when Terndesk isn't sure a line starts quoted history, it keeps the text.
Answers as they are written, and Cancel. When your provider supports streaming, summaries, Ask, rewrites and "Write with AI" show the answer as the model writes it. Claude Code and Codex return the completed answer instead. After a few seconds a Cancel button stops it, and closing the composer, Ask or the conversation stops it too; a second composer's request is its own. A model on your laptop may take a few minutes before its first words on a long conversation, and Terndesk waits for it. Summaries are kept on this computer for the 500 most recent conversations, so opening one again shows its summary at once; a new message writes a new one, and removing an account removes its summaries. Turning AI off, choosing another provider or address, or unticking the consent box removes the summaries too; unticking the box for Google accounts' mail removes those accounts' summaries. A reasoning model (one that thinks before it answers) may think for longer than a few minutes as long as it keeps going. With Ollama, opening "Write with AI" loads the model while you type (not on battery); how long it stays loaded is Ollama's own setting (OLLAMA_KEEP_ALIVE).
Ask your inbox. Press Ctrl/⌘+J in the list or a conversation (or "Ask your inbox" in the command palette) and ask a question: "When is my flight?", "What did Sam say about the invoice?". Terndesk turns the question into a search, runs it on the copy of your mail on this computer (falling back to the question's longer words), and gives your AI provider a few of the conversations it found: five, in about 6,000 characters, with a model on your own computer, so that a small one such as llama3.2:3b reads all of it; eight with a cloud provider. The model answers only from them and cites them by number: each number in the answer is a button that opens that email, and the conversations it was given are listed under the answer, the cited ones first. When nothing matches, Terndesk says "I couldn't find that in your mail." without asking the model; when the model finds no answer in what it was given, it says the same, and the list shows what it looked at. An answer that cites none of the emails it was given says so above the list. In the current account only that account's mail is searched. Nothing of your question or the answer is written to Terndesk's log.
Rewrites in the composer. In "Write with AI" (Ctrl/⌘+J) or the AI button over selected text, Shorter, More polished and Warmer rewrite the selection in one click, or, with nothing selected, everything you wrote (not the quoted message you're answering; once you've moved it into your text with "Edit quoted text", select the part to rewrite). A toast offers Undo, which puts the message back as it was while you haven't changed it since; Ctrl/⌘+Z steps back too. Only the text being rewritten goes to the AI, under the same rules as the rest (a reply quoting Google mail follows the Google rules above). A whole-message rewrite comes back as plain paragraphs and lists. With a streaming provider, the preview appears as it is written; your text changes only once the complete answer arrives. Cancelling or a failed answer leaves your text in place.
Drafts in your style (off by default). Settings → AI → Write drafts in my style: Terndesk reads up to 15 of the messages you sent from an account (what you wrote, without the history they quote) and asks your AI provider for a short description of how you write and a few typical sentences. Any sentence that names someone (you, the people you wrote to, or whoever you greeted) is left out, since small models sometimes copy a name despite being told not to. Press Learn from my sent mail for each account (and Learn again later). The result is shown there, stays in Terndesk's database on this computer, isn't part of the settings Terndesk syncs, and is only ever added to the prompt when AI writes a draft for that account. For a Google account, learning and using it need a provider that may read its mail (Ollama on this computer, or a provider whose consent box you ticked, as above), as for any of its mail. Forget my style deletes every learned style and turns the setting off; removing an account deletes its style too. The "About me & writing style" box is separate: what you type there is used as before.
Reply drafts for VIPs and teammates (off by default). Settings → AI → "Prepare reply drafts for new mail from VIPs and teammates" writes a draft in Drafts for new inbox mail from a VIP, or from a teammate: a person writing from your account's own domain, not a mailing list or an automatic sender such as no-reply. On a free-mail or internet provider's address (gmail.com, outlook.com, icloud.com, web.de, orange.fr, qq.com, comcast.net and the like) nobody counts as a teammate, since anyone can have an address there. That is a list Terndesk keeps, so a smaller provider may be missing from it; the most that happens then is a draft you didn't need. No draft is written for a message whose sender checks failed, even from a VIP.
Automatic categorisation covers recent inbox mail only (the last 14 days, at most the newest 200 conversations per account), asks about 20 conversations per AI call and makes at most two calls a minute, so turning it on or adding an account doesn't keep your CPU busy. To categorise older mail, run "Categorise older mail" from the command palette (Ctrl/⌘+K); a toast shows progress and can cancel it. With the Claude Code or Codex provider, the CLI runs at low CPU priority. It also runs without your own setup for it (Claude Code's hooks, plugins and MCP servers, Codex's config), so it signs in as you but nothing else of yours can break it; when it fails, Terndesk shows what it said, and asks you to sign in only when that is the problem.
Quiet hours and delivery times (off by default)
Settings → Notifications first chooses what notifies you at all: "Only Important and VIPs" (a new install starts here: mail Terndesk puts in Important, and mail from your VIPs; receipts, orders, service alerts and marketing in Notifications or Other don't notify), "All new inbox mail (not newsletters)" (what an install keeps if it never chose), "Only VIPs" or "Off", for all accounts or one at a time. The Dock and taskbar badge follows the same choice. A notification for one new message has the sender as its title, then the subject and, on a second line, the first words of the message (what you'd see in the list, without quoted text, "On … wrote:" and the signature); "Show the start of the message in new-mail notifications" in the same tab turns that line off, leaving sender and subject. Several new messages in one notification only name their senders. Your system's own preview settings (macOS: Notifications → Show previews; Windows: Focus and notification settings; GNOME: Notifications → Lock Screen Notifications) still decide whether any of it shows on a locked screen. Settings → General: "Notify me only during these hours" limits desktop notifications to the days and hours you choose (starting from your working hours; VIPs can still come through, and with several accounts each can be left out). "Show Notifications and Other only at set times" (e.g. 9:00, 13:00, 17:00) holds automated and bulk mail that arrives between those times until the next one, without a notification; Important and New senders arrive as usual, the held mail is in All and search meanwhile, and a pill over the list says how many wait, with "Show now". P pauses new mail: the list stays as it is (sync keeps running) and a pill counts what arrived, until you press P again or the time chosen with "Pause new mail until…". All local: nothing changes on Gmail or the mail server.
New senders (screener, off by default)
Cold outreach written by a person lands in Important like any other person's mail. Only people are held: a sign-in code, an account or security notice, a bank advice or anything else a company's system sends goes to Notifications (or Important, when it's an urgent alert). Most of it does even without an unsubscribe link, from a plain-looking address or under a name like “Example account team”. What still slips through goes elsewhere with i. Turn on Settings → Split inbox → "Screen first-time senders" and mail from people who have never written to you before (and whom you haven't written to, who aren't VIPs or colleagues) waits in a New senders split with a count instead, without a desktop notification. Only a conversation the new person started waits there: when they reply into one that already has mail from you or from anyone else (a reply-all on your thread, a colleague joining in), it stays where it was, and they aren't added to New senders by it; what they start on their own later is still screened. Only mail that arrives after you turn it on waits there; a one-time button there also reviews people who first wrote in the last 30 days. Each row of the New senders split has two buttons, Let in and Screen out (on the row under the cursor, and on any row you point at), and Y and N do the same for the row under the cursor, or for every selected row (right-click offers them too). A conversation from someone waiting opens with a banner at the top, “First time … has written to you”, with Let in (Y), Screen out (N) and Send to Other; letting them in keeps the conversation open, screening them out goes on to the next one. Elsewhere Y and N keep their usual meaning, and a key you gave something else in Settings → Shortcuts wins over them; “Let this new sender in” and “Screen this new sender out” can have keys of their own there. To answer for everyone at once, press “Screen them” at the bottom of the New senders split (or “Screen new senders” in the command palette): each person waiting is one row, with what they wrote last. Press Y to let them in, and their mail goes to Important from then on. Press N to screen them out: what they sent is marked done now and whatever they send later as it arrives, so it never shows in your inbox and never notifies you, but nothing is deleted (it's in Done, All mail and search). Press Enter to read their latest message first. In a conversation, i offers the same, plus Other and block. Screened-out senders are listed in Settings → Split inbox, with “Let in” to change your mind. Turning the screener off puts everyone waiting back in Important. Holding mail is local only; a screen-out is a rule, so it reaches Gmail only if you run your rules as Gmail filters (Settings → Rules).
Read newsletters as a feed
Press Shift+B in any list (the Other split is where newsletters land) and its conversations show one after another, each one's latest message from the sender open (not your own reply), in a single scroll, newest first. J and K go from message to message, Space and Page Down scroll, and E marks the message you are reading done (Z undoes it). Enter (or the envelope button) opens the whole conversation. "Done all shown" at the top marks every conversation the feed has shown you done in one go (not those further down you haven't scrolled to or only flew past, nor one that got a new message since), and one Z brings them all back; "Mark all read" marks them read. A message that may not be from who it says carries the same warning as in a conversation, with "I know this sender" to stop it. Reading in the feed doesn't mark anything read by itself. Esc (or Shift+B again) goes back to the list; going to another split or search leaves the feed too.
Remote images follow the same rule as in a conversation: hidden until you choose "Always show from …" for that sender, and tracking pixels stay blocked even then.
Bundles. Settings → Split inbox → Bundles (or "Bundle this split by sender" in the command palette) lists a split one row per sender, with how many conversations they have there. Enter on a bundle reads that sender's conversations as a feed, and E on it marks all of them done. Bundles are off by default, work the same for Gmail and IMAP accounts, and the choice travels with your other settings when you keep them in your mailbox. New messages' drafts aren't listed in a bundled split: they are in Drafts.
Clean up mailbox
"Clean up mailbox" (palette, or Settings → Skip inbox & block) ranks senders by how much they sent over 30 days to all time, with how much of it you read and when you last did; select several and unsubscribe, archive all, block or move them to Other, each one undo step. A second list shows your largest mail (handy near Gmail's 15 GB), and search understands larger:5M, smaller:100K and size:. It is counted on your computer from the mail kept offline.
In Clean up mailbox: Tab (or 1/2) switches between senders and largest mail, j/k move, x selects (Shift+↓/↑ extend, Ctrl/⌘+A all), p changes the period, u unsubscribe, e archive all, # block (senders) or trash (largest), o move to Other (senders) or open (largest), Enter shows their mail or opens the conversation, z undo, Esc clears the selection, then closes.
Files
Files (G then F, or the palette) lists the attachments of all your mail, newest first, by type, sender, date and name, and previews images, PDFs, text files and web pages without leaving Terndesk; open, save, forward or attach one to a new message from the keyboard. PDFs are drawn by a copy of pdf.js that ships with Terndesk. A file is previewed only when its contents are what its name says (otherwise it has no preview, and Open and Save work as for any file), and Terndesk never opens a program from a message, whatever the file is called (an installer, a script, an archive with one inside, or one it can't look into): save it, and open it yourself only if you trust the sender. A web page sent as a file (.html, .svg, .mht, .xml and the like) isn't opened in your browser either, where it could run its scripts, load from other computers and, on Windows, hand them your sign-in: Open shows an HTML page in Terndesk, cleaned as an email is (no scripts, pictures from the web hidden, links checked the same way), an SVG as a picture and XML as text. A page saved with its pictures (.mht from Edge or Word, .webarchive from Safari) is shown the same way, with the pictures it carries; its backgrounds, its frames and anything else saved with it aren't shown. Save still saves any of them.
In Files (g f): j/k move, Enter previews (←/→ step through the files, +/- zoom a PDF, Esc comes back), o opens the file in its app, s saves it to Downloads, c shows its conversation, f forwards its message, a starts a new message with it attached, / searches names (with from:, after:, before:, newer_than:), Tab or 1–7 pick a type, p the period, Shift+F only the sender's files, Shift+A this account or all of them, T searches inside the files instead of their names. In a conversation, an attachment's name and its Open (or Ctrl/⌘+O) show it the same way, in Terndesk; from there O opens it in its app and S saves it. A file that can't be previewed says so there, with the same two buttons.
With Search inside PDF and text attachments on (Settings → General), T in Files switches the search box to the words inside PDFs with selectable text and plain-text, CSV and JSON files. Each match shows the words around it (and its page in a PDF), and Enter opens the file at that page or, in a text file, at the first word found. Only files already on this computer are searched; the line under the list says how many were searched, how many are still being read and how many can't be (scanned PDFs, password-protected or damaged files). Word, Excel and other office files, archives and text in images (OCR) aren't searched.
Writing
In the composer the message is formatted as you write: Ctrl/⌘+B/I/U bold, italic, underline, Ctrl/⌘+Shift+X strikethrough, Ctrl/⌘+Shift+8/7 bulleted/numbered list, Ctrl/⌘+Shift+9 quote, Ctrl/⌘+K link (keeps the selected text; on a link, edits it), and Markdown as you type (**bold**, - or 1. at the start of a line). Pasting keeps basic formatting and links; Ctrl/⌘+Shift+V pastes plain text, and a pasted or dropped image goes into the text. ←/→ from the start of a recipient field select recipients, Backspace/Delete remove the selected one, Shift+↑/Shift+↓ move it between To, Cc and Bcc (or drag it), Enter on it opens its menu (right-click does too, with Copy email address), and double-click or F2 turns it into its full address as text to read or fix (Enter makes it a recipient again, Esc leaves it as it was; text that isn't a complete email address stays marked until you fix it or press Esc, and leaving the field then keeps the recipient as it was); @name in the message picks a contact, writes @Name as a link to their address and adds them to To; Backspace right after the mention removes all of it. In the mail you send it is an ordinary email link (the plain-text part reads @Name), and an email link in a message you read opens Terndesk's own composer, from the account the message came to. Ctrl/⌘+Shift+F jumps to the From address (also in an inline reply, when the account has several). Ctrl/⌘+Shift+N (or Follow up) writes follow-ups with the message: up to three, each a few days (or a typed time) after the one before, sent by themselves in the same conversation if nobody replies; a person's reply stops them, an out-of-office doesn't. They're listed under g u (edit, send now, cancel) and in the conversation, the conversation's row in the list says when the next one goes out ("⏰ Follow-up Fri 9:00"), and they go out with the usual Undo. Like send later, they go while Terndesk runs or at the next launch; one more than an hour late waits for you instead. Your signature (Settings → Signatures & Bcc, or the address's own, or Gmail's) shows under the text, above the quoted message, as it will be sent: it isn't part of the text and can't be edited there, and pictures from the web in it stay hidden, as in mail (it says so; they are sent with it). Click it, or the ✍ button in the bottom bar, to leave it off this message; it's then dimmed. A reply quotes the message you answer as it looked, as a forward does: its layout, tables, formatting and the pictures inside it go in the quote, pictures from the web as links the recipient's mail program decides about, and none of its attachments. If those pictures aren't downloaded yet, Terndesk gets them first for a few seconds at most (not offline or on a metered network); otherwise the reply opens at once without them, says some pictures couldn't be included, and puts them in once they arrive, unless you've changed the quote. Style sheets in the original, and styles that would move its text out of the quote, are left out, so the quote can't change or cover your own words. "Edit quoted text" moves the quote into your text, where a table becomes lines of text. Before sending, Terndesk warns about a missing attachment, an empty subject, a reply to 10 or more people, someone you've never written to, an outsider on mail to colleagues and a reply from the wrong address: Enter (or the send key again) sends anyway, Esc goes back to the draft, and each check can be switched off in Settings → Sending.
A reply or forward you send shows in its conversation as the composer closes, marked Sending… with an Undo until the undo-send time is up (Settings → Sending; 0 sends at once). A forward written from a conversation stays in that conversation, as Gmail's own web app keeps it, and its recipient gets it as a forward. Undo, in the conversation or on the toast, takes the message back and opens it again where you wrote it, inline in the conversation or in its own window, with its recipients, text, quoted text and attachments as they were. With Send and mark done (Ctrl/⌘+Shift+Enter), Undo also puts the conversation back in the inbox, from any window, from the Scheduled list (g u) for a send scheduled for later, and after Terndesk restarts; a conversation you have moved yourself since stays where you put it. If the message can't be queued, the conversation isn't marked done either. The composer closes as soon as Terndesk has saved the message, before it has checked and queued it; if it then can't be sent (it is too large, the account is signed out), the composer opens again where you wrote it, with everything in it, and a note says why. If you had started another message meanwhile, that one stays open and the note says the refused one is in Drafts. While Terndesk takes the message, the composer doesn't respond to keys for that moment, so nothing typed or pressed then is lost or saved twice. Z pressed in that moment takes the message back as soon as it is on its way, and does nothing if it couldn't be sent. If Terndesk closes in that moment, the message is in Drafts, not sent, and Terndesk says so, and why, the next time it starts. With Send and mark done, pressing Z after the toast has gone puts the conversation back in the inbox and says the message still goes, which it does (an Undo on an older toast waits until then; in another window, Z gets there once that window's own actions are undone), and if the mail server refuses the message for good, the conversation comes back to the inbox and the note that it wasn't sent says so.
Misspelt words are underlined as you type; right-click one for suggestions. On macOS this is the system's spell checker, in the languages set in System Settings. On Linux Terndesk checks in your system's language (LANG, or US English when none is set); to check in others, list them under Settings → Sending → Spelling languages (for example en_GB, de_DE). Each language needs its dictionary installed (Hunspell, such as hunspell-en-us on Debian and Ubuntu, hunspell-en-US on Fedora, hunspell-en_us on Arch): the packages suggest the US English one, and Settings says when one is missing.
Where settings are
Settings lists its tabs under five headings: General (General, Notifications, Shortcuts, Privacy), Mail (Sending, Signatures & Bcc, Snippets, Out of office), Inbox (Split inbox, Skip inbox & block, VIPs, AI), Accounts & data (Accounts, Calendar, Storage, Backup & sync) and Terndesk (Command line, Licence). The headings only group the tabs: ↑/↓ move over the tabs, one after the other, and the search box, the command palette's "Settings: …" commands and your remapped keys reach the same tabs as before.
Settings on a second computer (optional)
Settings → Backup & sync → "Keep my settings in this mailbox" keeps your rules, splits and their order, saved searches, snippets, sender moves, VIPs, senders you marked "I know this sender", signatures, the Send as addresses of IMAP accounts, shortcuts, AI labels and "About me", and preferences such as theme, list density and working hours in a hidden message in your own mailbox (a Tern/Settings label in Gmail, a Terndesk folder on other mail servers; no Terndesk server). Each computer that turns it on stays in step: edits made on two computers merge setting by setting, the later change of each winning. Snoozes and "remind me if no reply" reminders travel the same way (in a hidden message of their own, a Tern/Snoozes label in Gmail): a conversation snoozed on one computer comes back on the others at the same time, and cancelling one, or marking the conversation done, ends it everywhere. A muted conversation stays muted on the others too. Marking a snoozed conversation done ends its snooze. Signing in on a new computer finds the copy. On a new install whose settings you haven't changed yet, with no other account and no rules, adding the account restores them by itself; a notice then says what came back (how many rules, splits, signatures and snippets), and in Gmail how many changes wait for you to allow them under Waiting for you in Settings → Backup & sync, and stays until you press OK. Undo on it puts back the settings this computer had just before (what you changed since stays as it is) and turns syncing with that mailbox off, and the changes waiting from it go too; there is no Undo while another of your accounts keeps settings in its mailbox, which would bring them back; Settings → Backup & sync can turn it on or restore again. On a computer that already has settings of its own (another account, or something you changed), a dialog says when the copy was saved and what it holds, with Restore these settings and Keep this computer's settings; a restore from there gets the same notice and Undo. Keep isn't asked again (Settings → Backup & sync can still restore); closing the dialog with Escape answers nothing, and it asks again the next time Terndesk starts. Passwords, sign-ins, API keys, the AI model, knowledge files, "Always Bcc", a Send as address's Reply-To, zoom and how much mail is kept offline stay on each computer. So do the switches that lower protection for all your mail: always loading remote images, the checks before sending, the undo-send time, suggestions as you type, the New senders screener and running rules on the server. Set them on each computer. A rule that came with these settings and takes mail out of the inbox isn't used by a computer until you turn it on there, in Settings → Skip inbox & block, and a new Send as address waits the same way, under Send as in Settings → Accounts: nothing shows who put those settings in your mailbox. On mail servers other than Gmail, mail that was delivered into the Terndesk folder (some servers, Fastmail among them, file mail sent to you+Terndesk@… there) is never taken for the copy, and stays where it is. If another computer has already put a rule on your mail server, the server keeps running it. Settings says so when something is too long or there is too much to keep in the mailbox; that part stays on the computer. The same tab (and the palette: "Export settings to a file" / "Import settings from a file") saves a backup file to Downloads and restores one, without any account. "Remove the copy from this mailbox" turns syncing off and removes it.
Email links (default mail app)
Settings → General → Make Terndesk the default mail app (or "Default mail app" in the palette) makes email links (mailto:) in your browser and other apps open a new message in Terndesk, with the address, subject and text from the link filled in. Nothing changes until you click the button; on Linux it uses xdg-mime (the AUR, .deb/.rpm and make install entries declare x-scheme-handler/mailto; an AppImage gets a hidden entry in ~/.local/share/applications), on macOS Launch Services. Windows lets only you choose the default: the installer lists Terndesk among the mail apps, the button opens Settings → Default apps on it, and you pick it for MAILTO there; the Settings page in Terndesk shows the result when you come back. Links use the account on screen. Email addresses clicked inside a message open a new message in Terndesk too.
To send files from a file manager, add a custom action that runs tern-cli compose --attach %F (see below): Terndesk opens a new message with the files attached.
Messages saved as files (.eml)
A message saved as a file (an .eml from another mail app, an attachment, a download) opens in Terndesk in a window of its own: double-click it or choose Open With → Terndesk, drag it onto the Terndesk window (or its Dock icon on macOS), run tern message.eml, or tern-cli open message.eml. When Terndesk is already running the file opens in that copy. Only files whose name ends in .eml are opened this way; any other file is refused with a note saying so. The window shows the headers, the message as Terndesk shows any message (the same cleaning of its HTML, remote images hidden until you press Show images or I, embedded images shown), its attachments with Open and Save (to Downloads), and Reply, Reply all and Forward (R, A, F; a forward carries the attachments), which start a new message from the account the file's message was sent to, or else the account on screen or your first. Esc closes the window.
The file isn't added to any mailbox, and nothing of it is kept once its window closes. Warnings about suspicious mail apply as to mail you receive, with one difference: nobody you trust received this message, so whether it really comes from its sender can't be checked, and the window says so above it. Results of sender checks written inside the file count for nothing. Files over 64 MB, and files that aren't email messages, aren't opened; Terndesk says why.
Installing Terndesk lists it among the apps that can open .eml files without making it the default: macOS lists it under Open With (choose Get Info → Open with → Terndesk → Change All to make it the default), Linux lists it for message/rfc822 (your file manager's "Open With" or xdg-mime default tern.desktop message/rfc822), and Windows lists it under Open with (pick Choose another app and tick "Always" to make it the default).
Command line and AI agents (optional)
tern-cli lets scripts, status bars and coding agents (Claude Code, Codex and others) use your Terndesk mail through shell commands. Reading opens the local database in query-only mode and never touches the network, so it is safe to run while the app is open. read (and the MCP server's read_thread) puts the window's own warning above a message that may not be from who it says: its headers don't say clearly who sent it, or your mail provider checked it as mail from another site than the sender shown. Lists and searches mark such a conversation sender warning.
Google accounts: only once you turn it on. tern-cli, the agent skill and the MCP server don't hand out mail from Google (Gmail) accounts until you turn on Let tern-cli and the MCP server read Google accounts in Settings → Command line (off unless you do). Until then lists and searches leave it out, tern-cli accounts says which accounts those are, and changes to their mail are refused. Once it's on, whatever runs tern-cli or connects to the MCP server on this computer can read that mail, including an AI agent that sends what it reads to its own provider, which may keep it or train on it depending on your account with them; Terndesk itself still sends it nowhere. Changes to it still need the switches below. Microsoft and IMAP accounts work as described here either way.
Turn it on from the app: Settings → Command line (or "Command line & AI agents" in the palette) → Install tern-cli. This adds a small tern-cli launcher to ~/.local/bin that runs the Terndesk app binary in CLI mode (tern --cli), so release builds need no extra download. Tick "teach Claude Code" to also install the agent skill to ~/.claude/skills/tern-mail. Remove both from the same place.
tern-cli inbox --unread # unread inbox, newest first
tern-cli search from:priya newer_than:7d # same search syntax as the app
tern-cli read <thread_id> # whole conversation as plain text
tern-cli read <thread_id> --last 3 --no-quotes # the newest three, without quoted history
tern-cli attachment <message_id> 0 -o out.pdf # save an attachment (ids and numbers: `read`; the first is 0)
tern-cli count is:unread in:inbox # e.g. for a waybar module
tern-cli accounts # accounts and when each last synced
tern-cli permissions # what tern-cli may change
tern-cli help # every command; add --json for machine-readable outputChanging mail is off until you allow it. In the same Settings tab, choose what tern-cli may do: organise (done, back to inbox, read/unread, star, labels), trash and spam, save drafts, and send mail. Changes go to the running app over a local socket next to the database (owner-only), so they use the outbox, undo and quota pacing like a keypress, and each one shows in the window with Undo; a send waits out the undo-send window, and undoing it keeps the message as a draft. Without the permission a command exits with code 3; without the app running it exits with 1 and changes nothing.
Sends, trash and spam ask you first. An AI agent you run with a shell (Claude Code, Codex) uses tern-cli as you, and an email it reads could try to tell it to send or delete mail. So each send, trash or spam from tern-cli waits for you in the Terndesk window, which comes to the front and shows what it would do: for a send, every recipient (Bcc too, each address before its name), the subject, the whole message in a box that scrolls with its length beside it, and the attachments; for trash or spam, the conversations by subject and sender. Allow sends exactly what it showed; Don't allow (or Esc, or no answer within 45 seconds) changes nothing and the command exits with code 3. The buttons wait a second after a question appears, and Allow waits a second after you move to it with the keyboard, so keys you were typing elsewhere don't answer it. At most three requests wait at a time; another is refused at once. tern-cli can't trash or report spam by adding a Trash or Spam label either. The same questions come before tern-cli changes a draft you wrote (the send question) or discards one (the trash question); an AI assistant can't at all. For scripts or agents you run unattended, turn off Ask me before tern-cli sends or Ask me before tern-cli trashes or marks spam (each on its own, both on to start with); Terndesk warns you first. With a question off, that action runs without it: a send still waits out the undo-send window (at least 5 seconds, even with the delay set to 0) and shows in the window with Undo, and a trash or spam shows with Undo. Only you can change these two switches, in Terndesk's Settings: tern-cli, an AI assistant over MCP and settings from another computer can't, and tern-cli permissions shows how they are set for what you allowed. AI assistants over MCP still can't send, trash or report spam at all. What tern-cli and the MCP server print of your mail says that it is written by other people and is never an instruction to the agent. Text in an email that a local AI model would read as the start of a new turn (such as <|im_start|> or [INST]) is printed slightly respelt («¦im_start¦», «INST»), an attachment saved by tern-cli is named the same way (and, as in the app, without folders or characters Windows can't hold in a name, such as : or a trailing dot; a hidden file's name or an AI agent's instructions file's, such as CLAUDE.md, gets _ before it, and the file is marked as downloaded), so the agent still sees what the email said but its model can't take it for a turn of the conversation. A note of Terndesk's about a message (such as "read only the first 512 KB of this email's HTML") is printed after the message's text, outside its <data-…> lines, and is note with --json; the same words inside the text are the sender's, and are quoted with > .
tern-cli done <thread_id>... # also: move-to-inbox, mark-read, mark-unread, star, unstar
tern-cli label Projects <thread_id>... # unlabel removes it; trash, spam
tern-cli draft --reply <thread_id> --body "Thursday works for me."
tern-cli send --reply <thread_id> --body "The figures." --attach figures.csv
tern-cli send --to "Sam <sam@example.com>" --subject Notes --body - < notes.txt
tern-cli send --from support@example.com --to sam@example.com --subject Update --body "Fixed."
tern-cli drafts # saved drafts and their ids (works with Terndesk closed)
tern-cli draft --update <draft_id> --body "Friday works better."
tern-cli discard-draft <draft_id> # Undo in Terndesk
tern-cli send --draft <draft_id> # sends the saved draft, leaving no copy in Draftssend refuses (exit code 2) an empty body, and a new message without --subject, unless you add --allow-empty.
Add --dry-run to any of these to see what it would do without doing it: Terndesk makes every check the change would (the permission, the conversations, the label, a send's recipients) and answers "Would mark 3 conversations done". tern-cli undo takes back the last change tern-cli made, as long as it is still the newest on Terndesk's undo list, however long ago it made it (Z in Terndesk, by contrast, takes only changes from the last minute; otherwise press Z in Terndesk, which undoes the newest changes in turn and says when one was made with tern-cli); for a send still waiting out the undo-send window it cancels the send and keeps the message as a draft. It doesn't take back a saved draft, but it does restore one it discarded. tern-cli outbox lists the messages not delivered yet, waiting, scheduled, on their way or failed, also while Terndesk is closed, and tern-cli outbox cancel <id> stops a waiting or scheduled one. tern-cli <command> --help shows a command's options and examples.
tern-cli accounts says when an account isn't fetching new mail, and why: Terndesk's trial is over, the licence doesn't cover this version, or the account needs signing in again. It says how old the mail on your computer is and what starts fetching again; searches and lists say it on stderr too.
Searches follow the app's syntax, including its OR: it splits the whole search and each side is ANDed, so from:a OR from:b newer_than:1d is from:a OR (from:b AND newer_than:1d), not Gmail's reading (see Search). A search value that isn't understood (newer_than:12h, is:unraed) is searched as plain text, and OR beside other terms is easy to misread: tern-cli says both on stderr (as warnings with --json). Options may be written --limit=5 or -n5; unknown options, stray words and an unknown --account are refused with exit code 2, and -n over 500 says it was cut to 500. "No conversations match." and the out-of-date note go to stderr, so stdout holds only results; with --json a list also carries each conversation's sender and a sync block (stale, synced_at).
A reply goes where the message's Reply-To asks, as in the app. When that address isn't the sender's own (on another site, or another mailbox at a free-mail provider such as Gmail), send --reply doesn't send: it stops with exit code 2, naming the address. Save it with draft --reply and check it in Terndesk before it's sent; draft --reply saves it and says so on stderr (and as note with --json).
Files. --attach <file> on draft and send adds a file, to a reply too: the reply stays in its conversation for everyone, as one written in Terndesk does. Repeat it for more files, up to 25 MB in all; a file is named by its path, relative to where you run the command or in full. The question before a send names each file, its size and where it is read from, and the files go as they were then, even if they change on disk afterwards. A file tern-cli wouldn't send unseen (below) can go with a send you're asked about, and the question says why it is one beside where it's read from. To a draft, and to a send with the question turned off, tern-cli won't attach:
- a hidden file (such as
.env,.netrcor.pgpass); - anything in a folder where keys, passwords and other programs' data are kept: in your home folder
~/.ssh,~/.gnupg,~/.config,~/.local,~/.aws,~/.azure,~/.gcloud,~/.kube,~/.docker,~/.password-store,~/.mozilla,~/.thunderbird,~/Libraryon a Mac andAppDataon Windows; developer tools' (~/.m2,~/.gradle,~/.gem,~/.nuget,~/.composer,~/.oci,~/.cloudflared,~/.wrangler,~/.fly,~/.supabase,~/.minikube,~/.vagrant.d,~/.ansible,~/.tsh,~/.android,~/.terraform.d,~/.pki); wallets (~/.bitcoin,~/.electrum,~/.ethereum,~/.solana); other AI agents' logins and sessions (~/.claude, except itsworktrees,~/.codex,~/.gemini); Flatpak apps' data (~/.var) and a Snap's own settings and browser profiles (~/snap/…/.config,~/snap/…/.mozilla). The same folders count in another person's home folder and in a copy of one (a backup or a Time Machine disk:…/Users/<name>/…,…/home/<name>/…), and.ssh,.gnupg,.aws,.git,.password-store,.mozillaand.thunderbirdcount anywhere; - a file where credentials are kept, by its name, anywhere (
credentials,credentials.tomlandcredentials.json, such as~/.cargo/credentials.toml;auth.json;oauth_creds.json;gh/hosts.yml; SSH keys namedid_rsa,id_ed25519and the like), and any file with a private key in it, wherever in the file; - a keychain, the system's own files (
/etc,/proc,/sys,/dev) or Terndesk's data.
It stops with exit code 3 and nothing is saved or sent. A folder is known for what it is, not by the path used to name it, so a link, a second name for a file or another path to the same folder doesn't get past this. Your own files are fine wherever they are: in iCloud Drive (and an app's own folder in it, as the Files app shows it) and the cloud drives on a Mac (Dropbox, OneDrive, Google Drive, under ~/Library), though not the settings apps keep in iCloud, in an agent's worktree under ~/.claude/worktrees, and in other dot folders (such as ~/.cache), unless they are in a secret place inside them (.ssh, .git). A file is refused for its name wherever it is, so a credentials or auth.json that holds no secret is refused too. This keeps an email from talking an agent into mailing them out; it can't stop an agent set on it, which could copy a file elsewhere first. tern-cli opens the files itself and hands them to Terndesk, which doesn't open them by their names: a file the command can't read (an agent kept out of a folder by a sandbox or by macOS) isn't attached, even where Terndesk could read it. A file that changes while it is being attached (something still saving it) is refused rather than sent half-written: try again once it is saved. On Windows, files in OneDrive are attached like any other. Terndesk and tern-cli must be of the same version: an older tern-cli is told to update. An AI assistant (MCP) can't attach files. On a Microsoft account a draft over about 3 MB (its files included) stays on this computer and isn't uploaded to Outlook's Drafts, as with drafts written in Terndesk; sending it works.
--from <addr> on draft, send and compose chooses the address to send from: an account's own address or one of its Send as identities (Settings → Accounts), in any case. It also picks the account, so --account isn't needed with several. The message gets what the composer would give it: that identity's signature, or the account's when the identity has none, and its Reply-To. A reply answers from the address the mail was sent to, as in the app; --from overrides that, but must be one of the conversation's account's addresses. Any other address is refused with exit code 2, and the message lists the addresses you can send from and says where to add one: Terndesk → Settings → Accounts → Send as, or the composer's From. tern-cli can't add addresses itself.
Saved drafts. An agent that saved a draft can change it, discard it or send it rather than leave an old copy behind. tern-cli drafts lists the drafts with their ids, and marks tern-cli the ones tern-cli or an AI assistant saved that nobody has changed since. draft --update <id> replaces the recipients, subject or text it's given and keeps the rest; discard-draft <id> discards the draft here and on the server, and the window shows it with Undo (tern-cli undo takes it back too); a discard can be undone only until Terndesk is closed, as only the last 20 are kept, and only on this computer; send --draft <id> sends the draft as it is, after you allow it like any send, and the draft leaves Drafts. A draft you wrote yourself stays yours: an AI assistant can't change or discard it at all, and tern-cli only with Send mail as me (to change it) or Trash and report spam (to discard it) allowed too, after it waits for you in the window as a send or a trash does ("Change this draft?", "Discard this draft?", with the draft as it will be, and where each link goes). It acts only on the draft as it showed it: saved again meanwhile, even in the same instant, nothing changes. New text for a formatted draft is refused rather than turned into plain text; change its text in Terndesk. A draft tern-cli saved and you haven't touched changes without a question. A draft open in a composer is never changed under you: the command is refused and says to finish or close it first. Changes sync to your mail server as any edit of a draft does. They need Save drafts; sending one needs Send mail as me.
tern-cli compose --to … --subject … --body … --attach <file> opens a new message in the Terndesk window for you to finish and send. It needs no permission, since nothing is saved or sent until you do it. tern-cli open <file.eml> shows a message saved as a file in a window of its own (see Messages saved as files); it needs no permission either.
AI assistants (MCP)
Claude Desktop, Claude Code, Cursor and other assistants that speak MCP can search and read your mail through Terndesk's MCP server, and, if you allow it, organise it and save, change or discard drafts. Reading opens the local database in query-only mode and never goes online. The server never sends, trashes or deletes mail: it has no tool for that, and Terndesk refuses it from an assistant whatever you allowed.
Settings → Command line → AI assistants (MCP) shows what to give the assistant, ready to copy: a claude mcp add tern-mail … command for Claude Code, and the JSON that other apps put in their MCP servers configuration. Both run the Terndesk app binary as tern --mcp, so nothing extra is downloaded. Installing tern-cli also adds a tern-mcp command next to it (on Arch, the AUR package installs /usr/bin/tern-mcp), so claude mcp add tern-mail -- tern-mcp works too.
The assistant gets these tools: search_mail (the app's search syntax), list_inbox (optionally one split), read_thread, count_mail, list_accounts, list_splits and list_labels. Lists come in pages with their total. A conversation comes with dates, Cc and attachments, its newest ten messages by default, each without the history it quotes and cut at 4,000 characters; the assistant can ask for the rest. If Terndesk has no database yet, the server still starts and tells the assistant to open Terndesk first.
Changes, once you allow them. More tools change mail: change_threads (mark done, back to the inbox, read or unread, star or unstar), label_threads (add or remove a label or folder that exists), save_draft (a new message or a reply, saved to Drafts for you to review and send), and update_draft and discard_draft (change or discard a draft the assistant or tern-cli saved, by the id list_drafts or save_draft gives; a draft you wrote stays yours and is refused, never asked about). They use the same switches as tern-cli in Settings → Command line: Organise mail for the first two, Save drafts for the drafts; "Trash and report spam" and "Send mail as me" never apply to an assistant. Like tern-cli's changes they're made by the running Terndesk app, never by the server itself, so Terndesk has to be open; each shows in the window as "AI assistant: …", with Undo (a changed draft has none, and a discarded draft's Undo lasts until Terndesk is closed). These tools aren't marked read-only, so assistants such as Claude Code and Claude Desktop ask you before each call unless you've told them not to. An assistant can pass dry_run to check a change first ("Would mark 3 conversations done"). For a Google account's mail, these tools work only while Let tern-cli and the MCP server read Google accounts is on (see above); then they follow the same switches as any other account.
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.