Skip to content
Terndesk

Accounts and passwords

From the Terndesk user guide. For anything it doesn't answer, see Help or write to hello@terndesk.com.

With several accounts, pick one in the account switcher to see only its mail: Drafts and Scheduled (and their counts in the sidebar) then show that account's items, and every account's when none is picked. Waiting to sync always shows every account's.

Google accounts

Choose Sign in with Google on the welcome screen, Add Gmail account in Settings → Accounts, or Add account → Google in the account switcher or command palette.

  1. Terndesk opens Google's sign-in page in your browser and shows "Waiting for Google sign-in…".
  2. Sign in on Google's page. Keep every box ticked: mail, calendar and contacts each have their own.
  3. When the browser tab says "You're signed in", close it and go back to Terndesk. If it says "Sign-in didn't finish" instead, go back to Terndesk and try again. It says "Added you@gmail.com. Syncing…".

If the browser didn't open, the waiting dialog says so: press Copy link and open the link in a browser on the same computer. Open the page again reopens it, Cancel (or Esc) stops. After five minutes without an answer Terndesk stops waiting; just try again.

You sign in with Google directly: Terndesk never sees your Google password. It keeps a sign-in token in your system keyring (see The system keyring).

What Terndesk asks Google for, and what happens if you untick a box:

PermissionUsed forIf you untick it
Read, compose, send and organise maileverythingno account is added: sign in again and tick it
Calendar events and your list of calendarsthe calendar panel, invitations, meeting alertsthe calendar and invitations are off for this account
Contacts (read only)address suggestionsaddresses are suggested only from your mail
Basic mail settingsthe out-of-office reply, running your rules as Gmail filtersthose two are off for this account

To turn a missing permission on later, sign in again from Settings → Accounts and tick every box.

Sign-in expired. If Google ends Terndesk's access, the top of the window says "⚠ Sign-in expired for you@gmail.com — sign in again" and a desktop notification says so once. Click the warning (or "Sign in again" in the palette). Your changes made meanwhile wait and sync afterwards. Until you do, Terndesk doesn't ask Google or Microsoft again. Sign in as the same address: signing in as someone else is refused, and that account can be added separately instead.

Microsoft accounts (Outlook.com, Hotmail, Microsoft 365)

Choose Sign in with Microsoft on the welcome screen, Add Microsoft account in Settings → Accounts, or Add account → Microsoft in the account switcher or command palette. Typing an Outlook.com, Hotmail or Live address into the IMAP form offers the same sign-in.

  1. Terndesk opens Microsoft's sign-in page in your browser and shows "Waiting for Microsoft sign-in…".
  2. Pick or sign in to your account and accept what Terndesk asks for: reading, changing and sending your mail. A work or school account may need your organisation's administrator to allow Terndesk first; Terndesk says so if Microsoft refuses.
  3. When the browser tab says you can close it, go back to Terndesk. It says "Added you@outlook.com. Syncing…".

You sign in with Microsoft directly: Terndesk never sees your password. It keeps a sign-in token in your system keyring, and talks to Microsoft's mail service (Microsoft Graph) only.

What works: mail is kept offline and every action is instant and queued, as for Gmail: undo, send later, undo send, snooze (it archives, and the conversation comes back to the inbox), reminders, splits, rules, search and AI. Your Outlook folders appear as labels, and applying one moves the conversation to that folder; Outlook categories appear as tags, which never move mail. Read, flagged (starred), archived, deleted and junk sync both ways. A mailbox without an Archive folder gets one the first time you archive, as Outlook does. Drafts are saved to your Outlook Drafts folder. If you change a draft in Outlook while it's also open here, Terndesk keeps both versions and tells you. A draft you discard goes to Deleted Items, as in Outlook.

If Microsoft doesn't answer while a message is being sent, the message may have gone out anyway. Terndesk looks for it in Sent Items for a few minutes and never sends it again on its own. If it doesn't turn up, the message waits in Waiting to sync with "may or may not have gone out": check Sent Items in Outlook, then Retry to send it again or move it to Drafts.

Send as. Your mailbox's aliases appear in the composer's From picker by themselves (Microsoft 365; Outlook.com doesn't list them). Settings → Accounts → Send as adds other addresses, with a name, Reply-To and signature each, as for an IMAP account; a reply goes out from the address the message was sent to. Microsoft 365 sends from an alias only if your organisation allows it, and otherwise from the account's own address. To send as a shared mailbox, add its address under Send as; its owner or your administrator has to give you Send As on it. If Microsoft refuses an address, the message waits in Waiting to sync with "Microsoft didn't let … send as …" and isn't sent again on its own.

Out of office. Settings → Out of office sets Outlook's automatic replies, which keep working while Terndesk is closed. The first time, Allow automatic replies… asks Microsoft for permission in the browser. If you decline, or your organisation lets only its administrator allow it, Terndesk says so and nothing else changes. Outlook's replies have no subject. The message goes to people inside and outside your organisation; if you set a different one for outside in Outlook, Terndesk shows it and keeps it as it is. Days you set in Outlook in your own time zone are shown as Outlook wrote them and kept unless you pick days here. Stop managing them here stops Terndesk using that permission; replies already on in Outlook keep running until you turn them off there. If your organisation takes the permission back later, Terndesk turns it off, says so in Out of office, and your mail works as before.

Calendar. Terndesk shows the account's Outlook calendar once you allow it: right after adding the account, Show calendar in the message that appears, or later Show this calendar… in Settings → Calendar. Microsoft asks for permission in the browser; if you decline, or your organisation lets only its administrator allow it, Terndesk says so and your mail works as before. Then the calendar panel and the week view show its events, invitations in your inbox can be answered (Outlook tells the organiser, unless they asked for no answers), and insert availability uses your free times and, for people in your organisation, theirs. Answers given offline are sent when the connection is back. An invitation about one meeting of a series answers only that meeting; if Terndesk can't find that meeting, the invitation shows no answer buttons, and you answer it in Outlook.

You can also make, change and delete events from Terndesk (the calendar panel's New event, the week view, or b in a conversation). Outlook sends the invitations, updates and cancellations.

Stop showing it here in Settings → Calendar turns it off and deletes its events from this computer (an answer still waiting to be sent then shows in Waiting to sync as not sent). If your organisation takes the permission back, Terndesk does the same and says so in Settings → Calendar.

Large messages. A message's attachments can total 25 MB, as on other accounts (Microsoft may allow less; it then refuses the message, which waits in Waiting to sync with Microsoft's reason). Microsoft takes at most about 3 MB in one piece, so a larger message goes up in parts: Terndesk saves it as a draft on the server, adds the attachments one by one and then sends it. If the connection drops or Terndesk quits partway, the next try goes on where it stopped, and the message is never sent twice or without an attachment. While it goes up, the draft shows in your Drafts in Outlook (not here): leave it there, Terndesk sends it. It is deleted if the message isn't sent (Microsoft refused it, or you discarded it from Waiting to sync).

Settings in the mailbox. "Keep my settings in this mailbox" (Settings → Backup & sync) works as for other accounts: Terndesk keeps them in a Terndesk folder in your mailbox, which it doesn't show here and asks no extra permission for. In Outlook the folder holds a draft or two, "Terndesk settings" and "Terndesk snoozes": leave them, or delete them to start again (Terndesk saves new ones while syncing is on). Mail you or a rule put in that folder stays there and isn't shown in Terndesk. If your mailbox already has a top-level folder called Terndesk (in any case), Terndesk uses it: the mail already in it stays there and isn't shown in Terndesk, as before. A change made on another computer arrives within a few minutes.

Not yet: creating and changing calendar events, and running your rules on the server. A draft over about 3 MB stays on this computer and isn't saved to Drafts in Outlook. Microsoft doesn't tell Terndesk of new mail, so Terndesk asks: every 5 seconds while you're using the window, every 10 to 15 seconds while it's in the background or in the tray, and every 30 to 60 seconds on battery or a metered network.

Sign-in expired. If Microsoft ends Terndesk's access (you changed your password, or removed Terndesk's access), the top of the window says "⚠ Sign-in expired …"; click it and sign in with the same address.

Other providers (IMAP)

Terndesk works with any provider that offers IMAP and SMTP (for Outlook.com, Hotmail and Microsoft 365, use Sign in with Microsoft instead). Choose Add an email account (IMAP) on the welcome screen, Add another email account (IMAP) in Settings → Accounts, or Add account → Other email account (IMAP) in the account switcher or command palette.

  1. Enter your name, email address and password (or app password, see below) and press Continue. For a provider Terndesk knows that wants an app password (Gmail, iCloud, Fastmail, AOL, Yandex, Mail.ru, QQ and others; Zoho when you use two-step verification), the form says so as soon as you type the address, with a Create one link to the provider's page for it (How to create one where the provider's help explains it instead). Some providers (GMX, WEB.DE, Zoho, the Polish providers) want IMAP turned on in their settings first; the form says that too.
  2. Terndesk looks for your provider's settings, sending only your domain, never your address. For an address at one of about 30 common providers built into Terndesk (Gmail, iCloud, Fastmail, Zoho, AOL, GMX, Yandex and more) it uses the built-in settings and asks nothing. For your own domain it asks, in this order, your domain's published settings (autoconfig) and its DNS records; then the built-in provider its mail (MX) records point at, so a company domain on Google Workspace, Fastmail, Zoho, iCloud+ or a web host's mail is set up without typing servers; then, only if you tick "Also look up settings in Thunderbird's public database", Mozilla's database (this sends your domain to Mozilla), and last a guess such as imap.<domain>. A line says where the settings came from. A guess may be wrong: check it against your provider's help pages. Nothing is sent your password until you press Test and add account with the servers in front of you. A domain whose mail records point at Microsoft 365 gets Sign in with Microsoft. Proton Mail isn't in the list: add it with the settings Proton Mail Bridge shows.
  3. Check or change the servers: incoming (IMAP) and outgoing (SMTP) server, port and security (SSL/TLS or STARTTLS), and the user name (usually your email address). Enter settings manually skips the search.
  4. Press Test and add account. Terndesk logs in to both servers before anything is saved, and says what went wrong if it can't: a wrong password, an app password needed, a port that refused the connection or didn't answer, a certificate problem.

Unencrypted connections are only allowed to a server on your own computer ("None (this computer only)").

What works: IMAP accounts get the same behaviour as Gmail: mail is kept offline, every action is instant and queued, undo, send later, undo send, snooze, reminders, splits, rules, search and AI. Folders appear as labels, and applying one moves the conversation to that folder; the server's keywords appear as tags, which never move mail. The label picker (L) says which is which ("folder · moves" or "tag"). New mail in the inbox shows up within a second or two when the server supports IDLE (most do); mail a server rule files in another folder comes with the next check: about every 20 seconds while the Terndesk window is open (every minute when it's hidden, or on servers that can't report all folders at once). Out of office and Gmail links are Google-only and hidden for IMAP accounts.

Calendar. When your provider has a calendar server (CalDAV: Zoho, Fastmail, iCloud, Yahoo, mailbox.org, Posteo, Nextcloud and most others), Terndesk finds it in the background after the account is added and shows its calendar in the calendar panel and the week view, as for a Google account: your events, invitations with Accept, Maybe and Decline, the meeting before it starts, and Insert my availability in the composer (from your own events; other people's free time can't be checked there). An answer to an invitation is written to your calendar, and the organiser hears of it from the server or, when the server doesn't send it, by an email from this account (only for an invitation that came to you by mail from the organiser and didn't fail the sender checks). An answer to a recurring event applies to every event in the series. Creating and changing events works on Google calendars only for now. Terndesk signs in as the account only to its provider's calendar servers and to ones on the mail server's own site. A calendar server named by your mail domain's settings that is elsewhere is asked nothing with your password: Settings shows its address with Use it, and Terndesk signs in there only once you press it.

Contacts. When your provider also has a contacts server (CardDAV), the people in its address book are suggested as you type a recipient, alongside the people you've exchanged mail with, and count as people you know (a stranger using one of their names gets a warning). Terndesk only reads the address book, never changes it, and keeps only each person's name and email addresses. Only your own address books are read: books shared with you and company directories aren't. Someone deleted from the address book stops being suggested, unless you've exchanged mail with them.

App passwords

If your account uses two-step verification, most providers refuse your normal password over IMAP. Create an app password in your provider's security settings and use it in Terndesk instead. When a login is refused, Terndesk's message names the place for the providers it knows:

ProviderWhere to create one
iCloudaccount.apple.com → Sign-In and Security → App-Specific Passwords
FastmailSettings → Privacy & Security → App passwords
AOLAccount security → Generate app password
Gmail over IMAPmyaccount.google.com → Security → App passwords. Better: use Sign in with Google, which supports everything (calendar, contacts, Gmail filters).
Any otherlook for "app password" or "application-specific password" in your provider's security settings

Outlook.com, Hotmail, Live and Microsoft 365 (including a company domain hosted there) don't use a password here: use Sign in with Microsoft (see Microsoft accounts). Not supported yet: Yahoo Mail. It needs its own sign-in instead of a password, which isn't switched on yet; adding one stops with "… aren't supported yet. Support is coming soon." A build without Microsoft sign-in set up (a developer build) says the same for Microsoft addresses.

Account settings

In Settings → Accounts, under each IMAP account:

The system keyring

Terndesk keeps secrets in your operating system's keyring, never in its database: Google sign-in tokens, IMAP passwords and a cloud AI key if you set one. They are stored under the service name com.terndesk.mail.

Terndesk first touches the keyring when an account first syncs or when you add one, not when the app starts. If the keyring is missing or locked, Terndesk says "The system keyring is locked or not running. Unlock it and Terndesk tries again." and stops syncing that account until it can read it; it tries again by itself. Signing in again doesn't help with this: unlocking the keyring does.

Moving to another computer doesn't bring the keyring along, so you sign in to each account again there (see Your data).

Removing an account

Settings → Accounts → Remove. Terndesk first lists anything only on this computer that would be lost (drafts, unsent messages, scheduled sends and follow-ups, snoozes, reminders, changes not yet synced) and asks you to confirm.

A large account is deleted in the background ("Removing address: N of M messages deleted"). You can keep working; if you quit, the rest is deleted at the next start.

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.