Mail
Mail gives the assistant one mailbox of the workspace: it lists, searches and reads without asking, and sends only to recipients you allowed.




AskWhat did the plumber write last week?
mail_search and mail_read run without asking and mark nothing as read. AskSend Bob the lemon tart recipe, with the PDF.
AskSave the invoice from that mail.
mail_attachment_save asks about the path, then writes it into the workspace, mail/ by default. What it gives you
- Reading is free.
mail_list,mail_searchandmail_readare allowed in chats. - Sending asks per recipient. Each address is checked on its own; one denied recipient stops the whole message. Allow an address or a domain to stop asking.
- Written in Markdown, sent as mail. The body goes out as plain text and as HTML the daemon renders; raw HTML is escaped.
- Attachments both ways. Send workspace files or a picture from the chat; list and save what arrives.
- Drafts you can edit. An agent's mail waits as a draft with a rich-text body and attachment rows you can change.
- The password stays home. It is kept in the workspace's vault and accepted only over a private connection.
How it works
Set up the mailbox
You need a mailbox with IMAP over TLS and SMTP submission, and NOCTURN_MASTER_PASSPHRASE set.
- In Extensions, under Built in, tap Mail, then Set up the mailbox.
- Fill in Address and Password. Leave IMAP server and SMTP server empty to have them found from the address, or give them as
host:port. Sends as only if mail should go out from another address. - Tap Set up the mailbox. nocturn logs in to both servers before it keeps anything.
- Tap Check now. It says It works. and what it saw.
From the terminal instead:
printf %s "$PASSWORD" | nocturn mail setup --user alice@home.example
nocturn mail check
nocturn reloadA separate app password for sending: printf %s "$SMTP_PASSWORD" | nocturn secret set mail/smtp.
Allow recipients
nocturn perms set chat mail_send 'bob@home.example' allow --reload
nocturn perms set chat mail_send '*@home.example' allow --reloadOr choose Always on the approval. Agents, voice and paired devices get no mail tools until you allow them; voice never sends mail.
Attachments
Send workspace files or a picture from the chat, and save what arrives: the limits and the permissions are on Files.
In a draft, each attachment is a row with a remove key, and Add a file offers Take a photo, Choose a photo and Choose a PDF.
The draft editor
A draft's body is rich text with B, I, List, 1., Link and Quote, and Preview to see it as it will go out. What you change is exactly what is sent when you hold Hold to send (Review a draft).
Change or remove it
On the Mail page, Edit changes the settings; Remove deletes the mailbox and its passwords. The mail tools follow at once.