When your organisation lets no app connect to its Microsoft 365, cterm reads your work mail the way it reads Teams: it opens Outlook on the web in its own browser, signed in as you, and reads what the page shows. No model reads your mailbox to do it. Each project says which of your mail is its own, and only that is ever opened, kept or shown; a session that answers drafts the reply, and nothing is sent until you approve it.
What it is for
- The validators of a project write to you with spreadsheets attached: their mail reaches the project's session, which downloads the files and works on them.
- A session keeps an eye on a client's mail and, when something new arrives, reads it, prepares an answer and puts it in the queue for you.
- You approve the reply from the project page or your phone, and cterm types it into the conversation in Outlook, as you.
Give a project its mail
An admin sets it in the project's Settings, section Mail:


mail-shot.mjs- Senders: one a line, an address (
ana@example.com) or a domain (example.com). An address brings all its mail. - Subject words: a domain's mail counts only when its subject says one of them (case and accents ignored). With no words, all of the domain's mail counts.
- Folder: the Outlook folder to read; empty is the inbox.
- Look every and Wake: how many minutes between two looks, and the session that a new mail wakes. With 0
nobody looks by themselves; a session or you read it with
cterm mail read.
A mail from anyone not named there is never opened, even when its subject has the right words: only mail from the project's senders reaches it. The same settings from a terminal:
cterm project set <owner>/<project> mail-senders "ana@example.com, example.com"
cterm project set <owner>/<project> mail-subjects "validation, document types"
cterm project set <owner>/<project> mail-every 15
cterm project set <owner>/<project> mail-session "Mail desk"
mail off forgets the whole filter. Mail is read from your own mailbox, so only an admin sets it, and only on a
project an admin owns.
Reading and answering
cterm uses the browser that Teams signed in to. cterm mail status says whether Outlook opens signed in
there; if it asks for a sign-in, cterm mail login opens a window on the Mac once. From a terminal (naming the
project) or from one of the project's sessions:
cterm mail readreads the project's mail of the last three days (--since 2h,--since 2026-10-20), keeps what is new and lists the messages, each with its number:+ #12 2026-10-22 09:14 Ana Ruiz <ana@example.com>: Types for October [types.xlsx]. A second read of the same mail adds nothing.cterm mail show 12prints a message whole: who wrote, to whom, when, its text and its files.cterm mail download 12 "types.xlsx" --out <folder>saves one of its attachments under its name (orname (2)when the folder has one).cterm mail reply 12 "<text>"answers the sender inside the conversation;--allanswers everyone on it but you.--dryonly checks that the message's reply box opens addressed to them.
Opening a conversation can mark it read in Outlook: cterm marks unread again what was unread before it looked.
Approving a reply
A session's reply waits in the project's queue, titled with who it goes to, the whole text in its why:


mail-shot.mjs- Approve opens the message in Outlook, clicks Reply (or Reply all), types exactly that text and sends it as you; the session is told it went.
- Changes… sends your words back to the session; Bin… sends nothing.
That is the default. In the project's Settings, the Sends section can instead let replies leave by themselves a few minutes after the session writes them, with a countdown you can stop, edit, cancel or correct, or go at once: Messages that leave after a delay. Mail goes to clients, so leave it on a yes until you trust the desk.
Watched mail
With an interval and a session set, cterm looks at the project's mail on that clock, with no model, and types the session a short prompt only when something new came from one of its senders: who wrote, the subject, the first lines and the files. A look with nothing new costs nothing and types nothing.
Mail is data
Anyone on the internet can write to you, so what a message says reaches a session between marks that call it outside content: the senders' words, to read, never instructions to follow. cterm opens no link from a message, and downloads an attachment only when asked, through Outlook's own menu.
How it works
The browser profile is the one Teams uses, in cterm's own state folder: treat it like a password. One call at a time goes through it, Teams' and Outlook's alike, and it closes after ten idle minutes. cterm reads Outlook's page, and Outlook's own answers to the requests it makes fill in what the page draws only as a name (an address); cterm never calls Outlook's services itself. Before a reply leaves, cterm checks that Outlook is writing to the people you approved, in that conversation, and stops it otherwise.
It follows Outlook's page as it is today, in Spanish or English. A row Outlook draws with several senders and no address is not judged and not opened.