Help › Settings
Settings
The Settings tab holds everything you set up once: the folders, the Google accounts, what the AI may see and do, the key bindings, the Inbox, the AI program and its models, the OCR languages, retention periods. On the left the search field and the sections, on the right the chosen one — or, while you search, the results.
Settings are stored in one of three places — the row says which, where it matters:
| Where | Applies to | For example |
|---|---|---|
~/.undan/config.json | this computer, all archives | folders, keys, models, OCR |
<Documents>/.undan/config.json | this archive, every computer | Inbox note, retention, what the AI sees, place search, signature |
| the archive's state folder | this archive on this computer | depth of the mail sync, external images |
What only takes effect at the next start is marked after restart. Everything else applies at once. Fields you tend to think about have Apply and Reset to default; switches apply when you click them.
Search#
Ctrl+F⌘F takes you to the search field above the sections. It searches all
settings — title and description of every row — and all
keyboard shortcuts, with their key. From two characters on; several words must all
occur, also as part of a word. Upper and lower case don't
matter, and neither do umlauts: anhange and anhaenge find "Anhänge",
groesse finds "Größe".
At the top are the settings where all words are in the title, then those with some of them in the title, then matches in the description, and last those that only match via the name of their section. Next to each section on the left it says how many matches it has.
↑/↓ choose a match; Return or a click opens the section,
scrolls the setting into view, gives it the keyboard and makes it briefly
light up. Esc first clears the search; the next Esc closes
Settings.
Rooms and folders#
A room is a folder with its own .undan/ — its own history, vocabulary,
facts, trash and settings. Your archive is a room; here it is called
Personal. Next to it you create, say, "Company" or "Club". Rooms sit side by
side, never inside each other. With just one room nothing changes: the section
then shows your archive with its location, inbox and layout.
At the top are the rooms of this device, below them the panel of the chosen
room. Preselected is the room this window works in. ↑/↓ switch the room,
the panel follows at once; Return hands the keyboard to the panel.
Every room: location, inbox, layout#
Folders on this device applies here only — every device has its own location and inbox:
- Location: where the room lies on this device (formerly the documents
folder). Show opens it in the file manager. Change location … points
Undan to a folder you moved or renamed; nothing is copied. It must contain
.undan/and, if the room has an id, the same one — you adopt a different room under New room. If a room is missing on this device (drive unplugged, folder renamed), it shows in red; Change location … brings it back. The personal room is your archive: any folder works that exists and does not lie in or above another room — if it has no.undan/yet, the row says so, and Undan creates it the first time it stores something there. A new location applies after the next start; Default restores~/Documents(also after the next start; the row says which location applies until then). If a start argument sets the location, the row says so. - Inbox: which folder the inbox uses — Inbox/ in the room (new layout only), Own folder … (say, your scanner's output folder) or None; then the room has no Inbox tab. A change applies once the room is reopened, for the personal room after the next start.
- Layout: old or new. Move … or Back to the old layout … opens the card below it (further down, Archive layout).
- File names allowed on every operating system: further down.
Moving and fixing names only work in the room Undan is working in; for another room the buttons are off and say so. Check counts the file names of another room.
Room configuration lives in the room: everyone sharing it sees name and color; reminders apply to you only.
- Name: Rename … — the folder keeps its name.
- Color: Change … — ten colors, purple or your own as
#RRGGBB; without a choice it comes from the room's id. If your own color does not work in a scheme (black on a dark background), Undan lightens it there and says so. - Reminders (from two rooms on): how you want to be reminded while the room is closed. Loud (default) reports what is due today or overdue in a room outside the view — at the bottom, with Open and Later; Quiet only shows a number on the button at the top left; Off stays silent. Mail, inbox and events only report from rooms that are open (below, The view).
- Disconnect room from Undan: Disconnect … forgets the room on this device only, nothing is deleted; Undo in the message brings it back — with the inbox you had chosen for it —, later Adopt a folder …. Your personal room always stays.
Archive layout#
An archive can have the new layout: its folder then holds, side by side,
Documents/ (your documents — the tree shows only them), Trash/ (the trash,
visible: putting something back by hand means moving it out), optionally
Inbox/ (the inbox) and .undan/ (history, facts, mail, the archive’s
settings). Syncthing syncs it all as one folder.
The Layout row says which layout applies; Move … opens the card that moves. Before that, copy the root and your inbox to another disk by hand — the copy under Backup takes neither the trash nor the inbox along.
- Pre-check: every device of the Syncthing folder is connected and has
everything (nothing open); every other device runs a version of Undan that
knows the new layout (otherwise it is named); Undan is closed on the other
devices; nothing is unsaved here; no Syncthing folder of its own lies below
the root; no other device is moving it right now. A device in the Syncthing
folder that never had Undan (a NAS, say) you except with a checkbox (its short
ID from Syncthing stands next to it) — it receives the renames but does not
use the content. A phone with an older version of Undan has never written a
heartbeat either: do not except it, update it. Every red point blocks
Move. Patterns in
.stignorethat start with/are named as a note — change them to/Documents/…on every device. - Move only renames — Syncthing transfers the move as renames and
downloads nothing again. A checkbox brings the inbox from outside into
Inbox/if it lies on the same drive; if it is a Syncthing folder of its own, remove it in Syncthing yourself afterwards. At the end you quit Undan and start it again yourself. If another window still has the room open — even just in its settings —, Undan names it; Close the other window closes it (what is open there is saved), then the move goes on. - If the move is cut off (power loss) or stops, the archive keeps opening in the old layout — do not keep working in it then. The card offers Continue the move and, if it cannot go on, Roll back the run: that puts the steps done back. If something new lies at the old place by now, it is merged, never overwritten; what collides is named by the card — resolve it by hand and roll back once more.
- If another device began a move and never comes back, its mark blocks. Remove the mark … asks first, names device and date and warns if Undan is running there right now; the half move stays as it is.
- On the other computers start Undan only once Syncthing is done there. If
something new lies in the old inbox afterwards, the card names it and brings
it into
Inbox/on a click. - Back to the old layout goes through the same card, with the same
pre-check. As long as the move’s line is on top of the history,
Ctrl+Z⌘Zleads to this card instead of taking something back; older clicks you then take back through the history. - Whatever still lies next to
Documents/after the move (say, a file another device wrote at the old place) is named by the card; Move into the documents brings it in.
File names allowed on every operating system#
Syncthing only syncs what every device can create. Windows and Android don't
accept names with / \ : * ? " < > | or control characters, names ending in a
dot or a space, or device names like CON; macOS, Windows and Android treat
“Shopping” and “shopping” as the same name. Such a file is simply missing
there — on the phone, say, a whole folder 25_Bank | Finance.
Undan no longer creates such names itself: a new name, a new folder, a name from the model or from a mail works on every device; “ | ” becomes “ – ”. A name you type in the inbox shows as an error in its field instead of being changed quietly.
The File names … row counts what doesn't fit yet in the room and its inbox. Make names work everywhere … shows the plan as a card, like in the chat:
- “ | ” becomes “ – ”, “:” before a space becomes “ –”, “->” becomes “→”, anything else a dash; the extension stays;
- two names that differ only in upper and lower case: of two identical files one goes to the trash, checked again when you apply; otherwise, and always for folders, one gets a number (“(2)”) — the card names it;
- nothing is ever overwritten; whatever is taken by the time you apply is skipped and named.
Apply is one click, and Ctrl+Z⌘Z takes all of it back. Whatever you then put
back from the trash goes into the renamed folder. Bookmarks, the lines of
your tasks and the index follow; facts belong to the content and notice
nothing. Syncthing should transfer the renames without downloading anything
again (not yet checked on a real archive). [[Links]] from other notes to a
renamed note don't follow — the card names them.
The trash and the old versions keep their names — otherwise nothing there
could be put back; the card names their number, and they disappear when their
time is up. Files of Syncthing and of the system (.stfolder, .DS_Store,
desktop.ini …) the card never touches.
New room#
Two ways; the usual one is set apart.
- Create room … makes a folder in the new layout under the rooms folder
(
Documents/, optionallyInbox/, and.undan/). The rooms folder (default~/Undan) sits right below; Choose … changes it — a setting of this device, and it cannot lie inside a room. AI is off in a new room by default; the vocabulary of the room you are working in comes along as a template. - Adopt a folder … turns a folder you already have into a room without
rearranging it: only
.undan/is added. A folder inside a room, one that contains a room, and your home folder are refused. A folder that already is a room (it came via Syncthing) is adopted as it is; a copy of a room this device already has does not become a second one. A room adopted this way has no inbox at first — under Inbox you choose an own folder; moving to the new layout can come later.
The view#
With a second room, the view button appears at the top left
(Ctrl+G⌘G): which rooms are open together. In its menu you pick a
view (digits 1 to 9), add or remove rooms (the menu stays open, the last open
room stays) and save a combination as a named view. Everything opens every
room. Named views live in your personal room and apply on all your devices;
each device remembers which one is open.
Undan works in the view's default room — the one the view names, otherwise the first open one: Documents, Inbox, Notes, Tasks, Mail, Calendar and AI chat show it. When it changes, the window rebuilds itself in the new room ("Opening view …"). A room that stays in the view stays open: it keeps syncing, its events keep reminding you, and when you come back it is as you left it — including its open notes with everything unsaved and their undo, and the passwords you entered for PDFs in this session. Whatever was still unsaved in a room that closes waits as a draft when you open it again. A click on one of its notifications (an event, the morning card) makes it the default again and shows what it is about; with several rooms open, each notification names its room. Open are the default room and the rooms of the view you have worked in since the start; only a room that leaves the view closes. Search everywhere names below its list how many hits the other rooms would have; a click on a room makes it the default, and the search carries on there. A room this device has never had as its default is not yet known to the search. If something is running in a room that closes with the switch (Read in the inbox, an adoption), the switch waits until it is done and says so at the bottom — Cancel and switch or Stay here. If the room you want is still closing (without a network that can take a while), Undan waits for it and, after 15 seconds, says at the bottom what it is waiting for and since when — say "Undan is waiting for Company — 45 s so far: Closing the email connection". Cancel and switch drops a stuck connection, only where that is safe (never while sending, never files); Back to … takes you to the room you came from, and Undan says "Try again in a moment"; Quit Undan quits — what the room could not write, the next start catches up. If an item in the outbox is on its way, it may go out a second time after a restart; the button says so when you rest on it. If you close a window while it waits like this, it stays open until the wait ends and shows the same. If the default room is missing on this device twice in a row (the disk is unplugged, the network drive gone), Undan works in the Personal room and says so; if this version cannot open it, right away. If it is only gone briefly, Undan stays where it is. When it is back, Undan does not switch back on its own — the message "Company is back" offers Open.
Several windows: Open in new window … in the menu of the view button (or in the command palette, where it also appears directly as New window: Company) opens another window with a view or a single room — once the device knows two rooms. Each window has its own view, default room, tabs, open notes and position; when two windows show the same room, they see the same files and the same unsaved notes. Undo takes back the last click in the room, whichever window it was in. If a mail draft is already open in another window, Undan brings that window to the front. A new window starts without undocked notes, calendar and mail; what you undock, each window remembers for itself. You drag files between two windows of the same room as within one; between rooms that is not possible yet, and Undan says so. When you quit Undan, all windows come back in their place at the next start; a window you close before that does not. If Undan is already quitting, a second click on the close button does nothing in the first 15 seconds but say so — that way Undan finishes saving; if it takes longer, a second click quits Undan at once.
Settings per room: once the device knows two rooms, every section with
settings in the room shows the line Applies to room at the top — preselected
is the room this window works in; pick another with ←/→. Every panel and
line that lives in the room carries its square: it applies on every device that
has the room, including the other members' devices. here only after it means:
for this room, but on this computer only. Without a square, a setting applies to
this computer only. What only works in the room you work in (Sync now, open in
the editor, Add IDs to notes) is off for another room and says so. If you pick
another room while a Google sign-in is waiting for the browser, the sign-in is
cancelled — a line below it says so; sign in again in the right room.
AI per room: under AI you pick, at the top, the room the switch applies to. The AI only sees the room Undan works in, and only if it has AI on; when several rooms are open, the line above the chat's input says what it sees.
Devices#
Name of this computer: what it is called in the History, in the history of a task and in the fact sheet, wherever something was changed by hand — such as "Peter Notebook" instead of "user" or the technical name. Each computer sets its own; the name is stored in the archive, so the laptop sees what the desktop calls itself. Empty means: the technical name.
Sync with Syncthing: who manages the Syncthing on this computer — exactly one per computer, never two on one folder.
At the top the choice; under each option a quiet line says what you choose (the state of the bundled one, the other one
found). With ←/→ or a click on the other choice, a question comes first and says what happens; only Switch (or Return)
switches, Esc cancels. If the switch is not written to ~/.undan/config.json, the old mode still applies, and the panel
says so.
- Undan manages Syncthing (recommended): Undan brings Syncthing along and starts it itself as soon as it has something to do — a device is paired or a room is shared; until then nothing runs and nothing goes onto the network ("ready"). It has its own device ID, its own port and an interface only Undan can reach (a private socket, no open port on the network). Usage statistics, crash reports and updates are off; Syncthing ends with Undan. The panel shows the state ("running since 08:12") with Stop, Start or, after a crash, Restart, the device ID (the short form to recognise it, Copy puts the full one on the clipboard), the port and who is connected. If Syncthing crashes, the bar under the tab row says so too, and Undan restarts it — at most three times in ten minutes; after that it stays off until you restart Undan. On the local network it searches on a port of its own; a Syncthing you already have does not get in its way and stays untouched.
- I manage Syncthing myself: Undan starts and stops nothing, it only reports. Address and API key come from the
config.xmlof your Syncthing, or you enter them by hand (the key is under Settings → General there). Check (or Return in a field) asks your Syncthing: reachable, key, version (2.0 or newer) and whether it really runs on this computer — for that Undan briefly creates a check folder in the room and removes it right away. Only a passed check remembers a connection entered by hand, on this computer (~/.undan/config.json, readable only by you). Then state, device ID and who is connected appear, and Open web UI opens your Syncthing in the browser.
At the bottom the findings — none of it happens silently: a folder still managed by your own Syncthing (Take out … removes it there through its interface once both sync it; the files stay — if it does not answer, the line says how to do it in its web UI; a folder that holds more than the room is never taken out), a device asking to connect (it stays out until pairing comes with rooms), and hints such as local discovery being taken. When switching to "Undan manages", a checkbox can take the room out of your Syncthing right away (off by default). On the phone only the choice is shown: there Syncthing-Fork syncs, which you set up yourself; "Undan manages" is planned.
Who takes on what: some work is done by only one device, even when the app runs on several — syncing tasks with Google Calendar and the first sync of an email account, the text recognition of new scans in the inbox, merging conflict copies (only a computer, never the phone), later the AI instructions; the others wait. A device only takes on what it can do right now: Tasks in Google with the vault unlocked, an account with a calendar and the sync switched on (Settings → Calendar); the first email sync as long as one is pending on it — once it is done, the next device is in charge and only fetches its labels. This shows which device is in charge right now; who is connected through Syncthing is shown above under Sync with Syncthing. Without Syncthing's interface, the heartbeats of the devices decide alone. Right after the start a device is still "starting up": for a few minutes it takes on nothing, until the heartbeats of the others can have arrived — whatever is left in that time, it catches up afterwards.
Devices: all that have ever started the app, in the order in which they
take over — with their state ("running since 08:12", "ended 18:02",
"nothing heard since …") and what they can do. Without an order of your own,
the one running longest is in charge; a laptop you open briefly therefore
takes nothing away from the desktop. With the arrows or Alt+↑⌥↑/Alt+↓⌥↓ on a
row you set the order; it is stored in the archive and applies on all
devices. Reset removes it again.
Accounts#
A Google account is one account for Calendar, Mail and Contacts: one access that is granted per service. It is listed here once — with the vault and the client file that all three services need:
- Vault: what travels with the archive to your devices but nobody else should read — the credentials for Google and email accounts and remembered PDF passwords, encrypted in the archive. Create vault …, Unlock …, Lock, Forget on this computer. Below are the PDF passwords you remembered with Remember in the vault: hidden, with the file where you entered them and the day; the trash icon removes one. If you forget the passphrase, you lose what is in the vault: credentials you fetch again (delete the vault, provide the client file again, connect again), remembered PDF passwords you cannot — you got those from the sender.
- Google client file: once, in the
Google Cloud Console —
create a project; under Library enable the Google Calendar API, the
Gmail API and the People API (each whose service you
grant); audience External and status In production (otherwise the
sign-in expires after seven days); under Data Access the scopes
calendar.readonly,calendar.app.created,calendar.events,gmail.modifyandcontacts, plususerinfo.profile(name and picture of the account, not sensitive) and — only if you want the other contacts —contacts.other.readonly; create a client of type Desktop app, download the JSON file and choose it here. A service that comes later needs no new client file. - Accounts: one row per account with one column per service —
writes, read only or grant access … (the sign-in in the browser; what
has already been granted stays). Below it the status of the check
("connected · 3 calendars", "expired — reconnect") and the account's calendars
with their role. Check asks Google again; Reconnect fetches
every service the account already has, at full level — this is how an account
connected early gets the rights to write, and since 28.09.2026 the account’s name
and picture (
profile): your own picture as sender in the Mail tab, see Contacts, Photos; Disconnect revokes access at Google and removes the account from the vault, for all services at once. If you leave the settings while the sign-in is waiting for the browser, it is cancelled; when you come back, the top of the page says how it ended. When an account reads mail for the first time, the defaults for its scope go into the room's settings — if they could not be written, the message says so, and you set the scope under Mail yourself. - Sender name: if an account reads mail, its row shows how recipients
see you in From — say “Peter Quiel”. The pencil turns it into a
field:
Returnsaves,Esccancels; empty means no name, and then only the address goes out as the sender. It is kept in the vault, so it is the same on every computer, and applies at once — also to{my_name}in a template. For a mail account (IMAP) it is the name from the wizard. The same line is shown at the account under Mail. - Other contacts: under the Contacts column of an account that reads
contacts there is other contacts … — the addresses Google has
remembered by itself because you wrote to them (scope
contacts.other.readonly, read only). A click requests only this scope, and Google asks once more in the browser; afterwards it shows ✓ other contacts. The app never requests it by itself, not even on Reconnect. The row Other contacts from Google below counts for how many accounts it has been granted. What the app does with it is described under Contacts, Other contacts. - Add account …: a wizard. First the kind: Google (mail,
calendar, contacts), iCloud and Microsoft 365 (planned — they are shown
but can't be chosen yet) or Email account (IMAP/SMTP) for your own
domain with a hosting provider. For Google the checkboxes say what for: Calendar is
preselected, Mail and Contacts can be added right away; an account
only for Mail is allowed — it then doesn't appear in the calendar. For a mail account
the wizard takes you through address, servers found and password to a
checked connection, see
Mail, A mail account with a hosting provider.
Esccancels. - Mail accounts (IMAP) are in the same list: Mail: writes, Calendar and Contacts "—", below that the sender name, server and status of the check ("connected · 7 folders"); Check and Remove (the credentials leave the vault, the emails already fetched stay in the archive).
What the services do with the account is described under Calendar, Connecting Google, Mail, Granting access to an account and Contacts, Connecting Google.
Permissions and access#
What the AI may see of your data, whether the AI chat may go on the web, and what leaves this computer — in one place.
What the AI sees#
- Visible to the AI: calendars — which calendars the AI chat may read; it only suggests events there. Default: only Tasks. In the archive, the same on every computer.
- Visible to the AI: mail — which accounts; never spam. Default: none, emails are other people's data. If no account reads mail yet, Grant access to mail … right next to it takes you to the sign-in. In the archive.
- Visible to the AI: contacts — which details: by default name,
organization and email; phone, address, birthday, notes and other
details only after you check them. Contacts with the tag
privatare never seen by the AI, nor are Google's other contacts. In the archive. - AI chat → Web for new sessions — whether a new session may search the web and fetch pages. Default off, in the archive. The Web checkbox in the chat's header applies per session and does not change this default.
Network and accounts#
- What leaves the computer (the place search in the archive, everything
else this computer only):
- Place search — who suggests places while you type, in an event's location and in a contact's address: Don't search (default — the fields stay plain text fields, nothing leaves the computer) or Photon (komoot) — then what you type there is sent to photon.komoot.io (OpenStreetMap). Applies on every device with this archive; you can choose it on the phone too, there are no suggestions there. If you had address search while typing switched on before, this computer searches with Photon until you choose here.
- Server lookup when adding an email account — the wizard asks the provider (autoconfig), Thunderbird's database and the DNS for the servers; only the domain leaves the computer, never the address, never a password. Only when you add an account; entering them by hand always works.
- External images in emails — Allow per email or sender (default), Always load (except in spam and for emails with a warning) or Never load (not even for allowed senders).
- Senders with allowed images — you give the permission in the Mail tab; the cross takes it back.
- Senders with a remembered appearance — whose emails you have switched with
Shift+H⇧Hor Dark | Original away from what the rule says (see Mail, Dark or original); the cross hands the sender back to the rule.
- Google scopes per account — read only: what each account has granted the app at Google, scope by scope — userinfo.profile is called "the account’s name and picture" and is your own picture as sender, contacts.other.readonly the other contacts. Change them under Accounts.
Keyboard#
At the very top is the platform keymap of your system with its version —
Linux and Windows or Mac and iPad: on a Mac with ⌘ and without F keys,
otherwise with Ctrl. You choose only among the keymaps of your system; on a
Mac there are none for Linux and Windows. When we change keys, a new version
comes out — yours stays until you switch. If there is a newer one, below it
you see which shortcuts change for you and a button Switch to version n; the
switch applies at once. As long as there is only one version, only its name is
shown.
Below that the keymap — a whole set of key bindings at once, depending on which program you come from:
| Keymap | What it is |
|---|---|
| Gmail/Superhuman | the default: in the Mail tab single letters — R replies, E marks done, J/K move, G and a second letter jump; in Contacts also the keys of Google Contacts (Z undo, A all, ?) |
| Outlook | the keys of Outlook for Windows — Ctrl+R⌘R replies, Ctrl+F⌘F forwards, Backspace⌫ marks done, InsertS sets the star, Ctrl+E⌘E searches; otherwise no letter works on its own in the Mail tab; in Contacts the keys of Outlook for people (Ctrl+N⌘N new, Shift+E⇧E edit, Delete⌦ archive), otherwise no letter there either; in the Calendar Ctrl+Alt+3⌥⌘3/4 (week, month) and Alt+Shift+Y⌥⇧Y (today) are added |
| No single keys | the default, but in Mail and Contacts no letter and no character works on its own — if you type into the list by accident, nothing happens |
For each keymap a column with its keys for Reply, Reply all,
Forward, Done, Move to trash, Search and Compose new email; "—" means no key
— the command palette (Ctrl+K⌘K) finds such commands. Choose with a click
or with ←/→; the keymap applies at once, also in the F1⌘? overview, in the
command palette and in the tooltips. Documents, editor, Tasks and Inbox
are the same in all keymaps. It is saved for this computer, like
your own bindings.
Below that every shortcut — in the same tree as the F1⌘? overview
(Keyboard, Keyboard shortcuts):
on the left "All", the places and their areas with their count, on the right the list
of the chosen node, above it the search field. The commands
without a key are here too — you can give them one. The tree remembers, on this
computer, where you left it; a match of the search at the top left jumps
to its row.
Change (or Return on the row under the cursor), then press the new
combination; Esc cancels. Your own binding applies
on top of the keymap and stays when you switch keymaps — the table
highlights it and says how many there are. The binding applies at once, also
in the overview and in the tooltips.
Three things are fixed: letters and digits open the filter in tree and list,
Esc has its order of precedence, Tab switches the area. A
combination that is already taken where it applies — also by the
keymap — is rejected; the message says where. Reset all shortcuts to default
takes back all your own bindings (the keymap stays), Default on the
row (or Delete⌦ / ⌘⌫ on it) one of them — then what the keymap says applies again.
Operation#
How the application is operated, apart from the key bindings (those are under Keyboard). So far the digits of the
areas: every area of a tab has a fixed digit from left to right, Alt⌘ with the digit jumps there, even into a
collapsed area (Notes).
- Show while holding Alt⌘ (default on): hold
Alt⌘for a moment to see each area's digit. - Always show (default off): the digits are always there and can be clicked.
Both apply to this computer only and take effect at once.
Order of the tabs: the tabs in the bar at the top — Inbox, Mail, Contacts, Documents, Notes, AI Chat, Tasks, Calendar — can be arranged the way you want them. Three ways, one order:
- in the panel with the arrows ↑/↓ on the row or, when the row has the keyboard, with
Alt+↑⌥↑/Alt+↓⌥↓; - in the tab bar itself: grab a tab with the mouse and drag it to its new place — the line between the tabs shows where it will land; a click stays a click;
- from the command palette (
Ctrl+K⌘K): Move tab left / Move tab right move the tab you are in.
The order lives in the archive and applies on every computer that opens it. Alt+←⌥⌘← / Alt+→⌥⌘→ follow it; the digits
of the areas do not, they count inside a tab. A tab in its own window (Mail, Calendar) is missing from the bar but keeps
its place. A new tab that arrives with an update is appended at the end. Reset restores the built-in order.
Search: Remember earlier searches says how many searches the Recent column of Search everywhere keeps. Keep the building blocks pinned (default off): the sheet with keys and examples at the arrow ⌄ of every search field opens by itself with the keyboard in the field and stays open after inserting — the same as the pin in the sheet. Both apply only on this device.
Appearance#
Color scheme: Dark (the default), Light or Like the system. With Light, the sidebar on the left and the tab bar stay aubergine and the content turns white — the change applies at once, without a restart, and only on this computer. Like the system follows the light/dark switch in your system's settings — even when you flip it while Undan is running. On Linux, Undan asks the desktop portal for it (KDE, GNOME and others); on macOS and Windows it reads the setting at startup and when you choose Like the system, and only sees a later change at the next start. Where the system says nothing, it stays dark.
Text size: between 50 and 200%, in steps of ten or typed — – and + go ten percent
smaller or larger, in the field you type any number in between and apply it with Return
or by leaving the field; ↑ and ↓ in the field also go one step, Esc discards what you
typed. A number outside the limits is pulled to the limit (typed 250 counts as 200).
Standard brings back 100% (the default). It makes every text in Undan larger or smaller
— lists, menus, mails, the calendar, also the editor and the preview, whose own sizes
further down are multiplied by it. The icons next to the text grow along in steps: from
125% a quarter larger, from 150% by half, from 200% twice the size — the buttons around them
too; spacing and pictures stay as they are. The change applies
at once, in every window, and only on this computer.
Two fonts, set separately, each with its size — both apply at once, and there is a sample below each:
- Editor: JetBrains Mono (the font of IntelliJ, the default) or the system’s monospace font. The editor shows source text, so always a font with characters of equal width — tables and indentation line up.
- Preview: New Computer Modern (the font of LaTeX, in the heavier Book cut, the default), Charter or the interface font. Code in the preview is set in the editor font.
The preview font only applies there; chat and help stay as they are.
Show images in the editor (off until you turn it on): an image on
a line of its own appears in the editor as an image, centered and with its
description below. A click on it shows the line  again for
editing. When it is off, you only see the line, as in the source.
Spelling (on, only on this computer): misspelled words with a red wavy
line in the note editor and the mail draft. Below it the dictionaries found
on this computer — selected are German (Germany and Switzerland), English and
Swedish, as far as present; a click deselects or selects. If none is listed,
the package is missing (hunspell-en-us, hunspell-de) — or put .dic and
.aff into ~/.undan/dictionaries/ and press Search again. The own
dictionary is in the archive (.undan/dictionary.md); Open in editor
shows it.
Vocabulary#
The file in the archive that types, fields and actions come from. This shows what the app is currently reading from it: "Valid — 22 types, 7 actions, …" or the errors with line numbers.
- Open in editor opens the file in the note editor of the Documents tab.
There a strip below the header checks the text on every keystroke;
a click on a message puts the cursor on the line, Grammar
help leads here into the help. The offending line is
also underlined in red in the text, and the source is colored according to the
grammar of this file: section titles orange, field types violet,
values green, comments gray. Save with
Ctrl+S⌘S; the previous version stays reachable viaCtrl+Z⌘Zfor as long as set under Retention (default 30 days). - Restore default replaces the file with the one that ships with the app, keeping a backup of the previous version.
For the vocabulary, the same strip also warns when a field name has
disappeared that still has values under it ("⚠ Field iban is no longer named in the
vocabulary — 87 documents still carry values under it"). That
blocks nothing; why it matters is explained under
Facts, What happens if I rename a field?.
The grammar is described under Facts, The vocabulary.
Saved searches are bookmarks and are stored next to it in bookmarks.md —
one line per entry, see Documents, Bookmarks.
Conflict copies: notes Syncthing put next to the original as a conflict copy and that couldn't be merged by themselves — per copy the original, when and whose change it holds, and why it stays (with the places where both versions differ). Merge does it by hand, Open shows the copy. More under Tasks, Syncthing conflict copies.
Inbox#
Reading happens only when you click (Read in the Inbox) — nothing goes to a model by itself. Only the text recognition of new scans and, after it, the check against the archive (Duplicates) run by themselves, on the device responsible for it under Devices; both stay on the computer. Until 20 October 2026 there was "Read the inbox automatically" here; it is gone.
What the Inbox prefills when reading an email — see The Inbox, Emails:
- Images: minimum size, in bytes, default 50 000. An image embedded in the email below this size is a signature logo and shows unchecked in the plan; a click flips the checkbox. No image is hidden.
- Folder for new correspondence, default
Korrespondenz, relative to the archive root. The note of a new conversation is created there when the model recognizes no project; an existing note stays where it is.
What the model suggests#
- Contacts from signatures and Tasks from the text, both on by default — see What the model suggests for an email. When turned off, the block is not even asked for; the Inbox always asks for the project.
- Own email addresses, separated by commas: they never become a contact. Without them, the recipient of the email is taken to be you — which is right for an email from the inbox, not for one from "Sent".
Everything applies at once, at the next Read. A plan that has already been built stays as it is.
Tasks#
Inbox note: where a task without a project and without an area goes — see Tasks. The path belongs to the archive and applies on every computer.
Documents in tasks: which documents and emails appear in Today and Upcoming. Per query a name, a search in the language of the search field (
$pay:open,type:invoice $pay:open,from:weber; with the same suggestions —Tabtakes the key,↑/↓andReturnthe value), the date field that says when a match is due, and the lead time: this many days before the date it already appears in Today. Each query is one row; while you type, the Matches column on the right shows what it currently matches — “matches 4 documents, 1 without a date · 2 mails”; a match without a date does not appear in Today.Tabwalks through the fields of the row, the arrows orAlt+↑⌥↑/Alt+↓⌥↓move the query you are in; the order matters, because a document appears under the first query in which it has a date. Below it Upcoming reaches — this many days ahead (default 30).Without a list of your own there is one query per action of the vocabulary (Pay:
$pay:open, due on the due date, three days of lead time). Apply saves only what differs from that; Reset to default brings the defaults back — then a new action in the vocabulary also gets its query by itself. An empty list is deliberately empty. The list is stored in the archive and applies on every device; the vocabulary stays what things mean.Estimated duration: the quick picks in a task's duration picker.
Duplicate tasks from conflict copies: clears away the second tasks the app created from conflict copies until 11 Oct 2026 — see Tasks, Syncthing conflict copies.
Calendar#
Which calendars the tab shows (Calendars in the tab, with a color of its own per calendar), the hidden events, the tasks in Google, the reminders on the computer and the view — details under Calendar, Settings. The Google account is under Accounts, what the AI sees of the calendars under Permissions and access.
Mail#
The section for the Mail tab:
- Sync: Sync now with the status of the sync — it also continues a paused first sync.
- Scope per account: for each account its name on the left — the sender name with the pencil (see Accounts), below it address and kind —, two groups on the right. Scope, one sentence: what the sync fetches into the archive in full (inbox, sent and starred with their whole conversations, or all emails) and how far back (in months, empty means everything) — in the archive, so the same on every computer. Sidebar and archive: with more than one account, whether it appears in “All inboxes”, and next to it whether the archive is limited to period and scope (you see the number first). In a narrow window the name stands above the groups. More in the help leads to Mail, What goes into the archive.
- Signatures — for each account that reads mail (Google like any other), a template in the same editor as when writing: format bar, link, image or logo; below it, how the recipient sees it. It appears in every new email as text below yours and can be changed or deleted there — see Mail, The signature. In the archive, so the same on all computers; it is written as soon as you leave the field. If no account reads mail yet, Grant access to mail … right next to it takes you to the sign-in.
You grant the account under Accounts; which accounts the AI may read and whether external images are loaded is under Permissions and access. Everything applies at once, without Apply.
Contacts#
The section for the Contacts tab, in the order you use it:
- Sync: for each account that reads contacts, the direction (Both directions or Read only, only on this computer), where new contacts go (into which address book — or nowhere), Sync now and the status of the sync. If no account reads contacts yet, Grant contacts access … takes you straight to the sign-in.
- Import: Import vCard/CSV … and Adopt from the knowledge notes — both a proposal card in the AI chat; above them the collection in numbers (people, organizations, possible duplicates).
- Appearance: the default country for phone numbers without a country code (Germany or Sweden — in the archive, the same on every computer) and the name order in lists (First name Last name or Last name, First name — this computer).
You grant the account under Accounts; what the AI sees of contacts and the place search for addresses are under Permissions and access. Everything applies at once, without Apply.
AI#
Use AI (at the very top, in the archive — applies on every device, the
phone included; off by default): whether Undan asks a language model at all.
Off means: Undan sends nothing to a model. The AI chat, Ask the help,
Suggest reply, Improve and Check in the email draft, the instruction for
the AI while dictating, Attach to AI chat and every AI setting disappear, and
so do their keys and commands; a program from outside that starts
undan --mcp gets nothing either. The Inbox then reads with text recognition,
duplicates and rules, and you fill in the form yourself. Dictation stays — it
recognizes speech on the device, without a language model. On: everything
comes back, without a restart; the models below and
Permissions and access decide what the AI sees. If
you used the AI before this switch existed (questions to the help, the chat,
the Inbox with the model), it is on after the update. If you switch it off
while something runs, the call already on its way finishes; the next one does
not go out.
Program and models#
- Program: what the app starts as
claude, a name in the path or a full path. Check calls it with--versionand shows the answer. - Models for the Inbox, the payment details, the chat and the
email drafts (Suggest reply and Improve in the Mail tab,
default
sonnet), the help (Ask the help, defaulthaiku; it reads only the help, the settings and your keys) and the audit: Opus, Sonnet, Haiku, Fable (as “Haiku · Claude”), the models on this computer and the models of your local servers as "model · server" (below). Empty means: the default of the command line. An alias follows the newest version at any time; a fixed ID (typed in freely) silently goes out of date. Payment details run with the defaulthaiku, because they are many short calls. In the chat the value applies as long as the session doesn't choose anything else; a local model works there without the web (Local models). - Local models: servers with an OpenAI interface — llama.cpp
(
llama-server --jinja), vLLM, LM Studio, on this computer or in your own network. Add server with a short name (it appears in the ID, such asrechner/gemma-4-31b) and the address up to/v1; withouthttp://it is added. For each server it shows which models it reports, or why not ("no connection — is the server running?"); ↻ asks again, the trash can removes it, the pen renames it (the model choices that name it follow along). The app starts no server, it only sends requests. A local model gets every document on its own, without thinking. If you remove a server that a model still names, that call goes nowhere (not silently to Claude); the log says so. The servers apply to this computer. - Models on this computer: models Undan runs itself — without a server, in a separate process with llama.cpp. They appear in every model choice as “Model · This computer”, except in the chat (it needs tools, which they cannot do yet). Add model … picks a GGUF file, which stays where it is (for split models the first part); only a server reads safetensors and MLX. Each model shows what it is, whether it fits here (“fits”, “tight” — fits when little else runs —, “does not fit”) and, where measured, how well it does folder, type, fields and actions. ▶ loads it and asks a short question; the bin removes your own file from the list (the file stays) or deletes a downloaded catalog model. If the model fails three times in the inbox, the inbox stops and asks you to choose another model.
- Catalog: models worth trying with Undan, with size, license, what has been measured and whether they fit here. Download fetches them from Hugging Face and verifies the checksum; the job shows in the bar below.
- Computing: first the engine — llama.cpp, what the models compute with. It does not come with Undan but with the first model you download from the catalog or add (or here with Download): for CUDA where CUDA 13 is installed (145 MB), otherwise for Vulkan and the processor (30 MB), downloaded from GitHub and checked. Until it is there, no cards appear here, and the catalog does not say whether a model fits. If you install CUDA later, the row offers the matching one; the bin removes it. Then: which graphics cards the model may use (none selected: all), how it is split across several cards (layers give more room, rows and tensor compute in parallel) and how much context a request has — with the whole folder tree the inbox needs about 17,500 tokens, default 32,768. The first document of a run takes longer (the folder tree is computed once), every further one only seconds. Unload frees the memory at once; after five minutes of rest that happens by itself. Everything applies to this computer only.
- Parallel calls, after restart. Each process takes about 325 MB. Choose fewer with less than 16 GB of memory.
What the AI may see of calendars, emails and contacts, and whether the chat may go on the web, is under Permissions and access.
Dictation#
- Speech models: Download fetches a model onto this computer once (checked against its checksum); Nemotron is needed for every dictation, Parakeet and Whisper re-read — below it says how fast they are on this computer. The trash can removes a model — it can be downloaded again.
- Speaking: the keys for dictation and Instruction for the AI, language, Re-reading (with "now: …" — who is actually re-reading right now; a model that is too slow here doesn't re-read), Stop after silence, Keep open and the microphone — the same settings as on the dictation bar.
- Computing: how many CPU cores dictation takes (default: half, at most 8), whether Whisper computes on the graphics card, and Check and measure: what is doing the computing right now, and how fast each re-reader reads.
- Load at startup: load the models right at startup, so that the first dictation writes immediately.
Everything else under Dictation.
OCR & index#
Tesseract is built into the app; nothing needs to be installed.
- Languages, joined with
+, defaultdeu+swe. The app ships with models fordeu,sweandeng— any other language is rejected. Adding English destroys German umlauts, so English documents are recognized after reading and read again separately. The change applies to everything read from now on; existing files via Re-read (force) in the Documents tab. - Resolution when rasterizing: the number of dpi the pages are rendered at for recognition. Default 300 — measured, 600 reads no better and takes one and a half times as long.
- Parallel OCR runs: 0 means automatic, half the number of cores. Each run is a process of its own. After restart.
Retention#
How many days the trash and the saved versions of edited files are kept before the next start cleans up (default 30 days). And how often the note editor saves a draft.
The period is stored in the archive and applies to every computer that opens it: trash and versions are in the archive and travel with it, and every computer cleans up the same trash. The Trash, the toolbar and the window for editing a PDF name the period that is set. If your computers had different periods before, each one takes its own into the archive at the first start — the longer one wins.
Save automatically when leaving (this computer, default on): applies to
notes, tasks and documents at once. Another note, another tab, another window
or quitting saves unsaved notes — each as a version of its own; Ctrl+Z⌘Z in the
Documents tab brings back the previous one. New tasks show up in the Tasks tab
and the calendar only once saved. Never for a file that is missing or was changed
from outside, and not for vocabulary.md and bookmarks.md.
Troubleshooting#
A switch for the log: when it is on, the app writes down what it does — tab switches, saving, background runs, what a sync with Google changed, and every message that was shown on screen. Errors are always in it, even when it is off: a crash, a sync that stalls ("Google is throttling"), and the line when it works again. The same error appears only once, not every minute. The file is in the state folder of this computer; Open log, Open folder and Clear are below it.
Measure the editor shows a panel at the bottom right of the note editor: what a keystroke costs, stage by stage (parse, decorations, composition, draw, key to frame …) in milliseconds — red where it takes longer than one frame. Save report puts the table as a file into the state folder. Meant for the test phase; switched off it costs nothing.
Which version is running is under About Undan (bottom left in the help menu); on the phone it is the last row of the settings. Copy details puts version, device and locations as text for a bug report on the clipboard.
Tools & paths#
The only program the app needs from outside is claude —
the command from the AI section is checked, with its version. If it is missing,
Inbox, payment details and chat stay silently empty.
Below that, what is built in for OCR: the Tesseract library with its version, the bundled languages and the folder the language data is unpacked into on the first read. This is information, not a check — nothing can be missing.
Finally the paths to configuration, archive, facts and state folder, each with Open in the file manager.
Licenses and sources#
The last section names what Undan ships with or downloads on this computer, and where it comes from: models (dictation, the built-in language models), training data (what the phone's page model was trained and tested with — it never lies on any device), fonts, bundled tools (the typesetter, Tesseract, sherpa-onnx, llama.cpp) and the libraries, grouped by license. At the top stand the version of Undan and the device.
Each row names name, version, what Undan needs it for, the license and the
status — bundled, downloaded (green, with size), not downloaded or never
on this device. A click shows everything on the right: author, license (for a
dual license also which one Undan takes), the source (opens the browser), what
Undan changed, notices and the license text — Copy or Ctrl+C⌘C puts it on the
clipboard. If the window is narrow, the detail takes the place of the list,
with Back.
The page has its own search (Ctrl+F⌘F: name, author, license, purpose);
↑/↓ move, Return opens, Esc goes back or clears the search. The settings
search also finds the entries, and in the command palette (Ctrl+K⌘K) “Licenses
and sources” leads here.
The list is made at build time from what Undan really ships; without a recognized license, or with a GPL without an exception, Undan does not build.


