Overview · Chamberlain
The Chamberlain, which keeps your private papers
How the Chamberlain reads your documents, cloud folders, mail and attachments on this PC, searches them by your words and by meaning, answers questions from them, keeps your receipts and warranties, and finds documents saved twice. Nothing leaves this PC.
- Article
- 2801
- Applies to
- Chamberlain 0.12.1
- Last reviewed
- For
- For everyone
What the Chamberlain does#
The chamberlain looked after the lord's private chambers. The Chamberlain keeps your private papers: it reads your documents and your mail on this PC, keeps their text in an index on this PC, searches it, and answers questions from it.
Nothing leaves this PC. Its AI runs on this PC, and it only reads: it never sends, moves or deletes your mail.
The Chamberlain comes with the Household license.
What it reads#
Every 30 minutes:
- Your documents: your Documents folder at first, wherever Windows or OneDrive keeps it, with its subfolders. A new or changed document is read; one that has gone leaves the index. Your document and mail folders are watched between rounds, so a round reads only what changed, and once an hour it goes through them all in case Windows missed a change.
- Your cloud folders: the documents OneDrive, iCloud Drive, Dropbox, Box and Google Drive keep on this PC. It never connects to those services, and never makes them download a file kept online only. Turn off Cloud folders in Settings to leave them out.
- Mail saved as files, in folders you name:
.eml, Outlook's.msg, and mbox and maildir folders. - Thunderbird's mail, when you turn it on.
- Your mail accounts, read-only: Gmail, Outlook.com, Hotmail, Microsoft 365, iCloud and any other. See Add a mail account.
- Your mail's attachments: PDF, Word, Excel and PowerPoint files, text, attached messages, and zip archives, within limits. Turn off Read attachments in Settings to have them named only.
| Kind | Formats |
|---|---|
| Text | .txt, .md, .csv, .json |
| Web pages | .html, .htm |
| Office | .docx, .xlsx, .pptx |
| Rich text | .rtf |
.pdf, when it has text: not scans | |
.eml, .msg, mbox, maildir, IMAP | |
| Attachments | The kinds above, attached messages, and .zip |
Scans and photos of letters have no text to read: the Clerk reads those. Pictures attached to mail are named, not read.
Search#
Type your words. Results with your words in a row come first. Put words in "quotes" to find them together, in that order: "2718 birchwood mill". The X at the end of the search box, or Escape, clears it.
- Search in: everything, your documents, emails and their attachments, emails only, or attachments only.
- Sort: most relevant, newest first or oldest first.
- Date: any time, or the past week, month or year.
Find by meaning. A search also finds a document or an email by what it's about. Search for "can we send back the couch" and the sofa's delivery receipt, with its returns policy, comes up, though none of your words are in it. Your words still count: a document or an email with them comes first. Each one is read for it once by the local AI on this PC (an email by its sender, subject and opening, a document by its name and first page or two), and again only when it changes. It works on the Search tab and when the Butler looks for a file. Without the local AI, a search is by your words alone.
Each result shows the passage with your words highlighted, and a coloured mark for what it is: blue for an email, amber for an attachment, green for a document. An attachment shows the email it came with on its own line. Its links are in its bottom right corner: Read the email, Read the attachment, Open the email or Show in Explorer.
A message or attachment opened from a search shows its text on the page, with your words marked and how many places they're in. Previous and Next take you from one to the next.
Ask#
Ask a question in your own words: "When is the boiler service?". The Chamberlain finds the passages that answer it, numbers them and shows them, and the local AI reads only those and answers in a few sentences, citing them by number. The answer is labelled as the AI's, unverified, with the passages under it to check.
Ask answers only from your papers. A name, a date, a time or an amount in its answer that isn't in the passages is caught, and the answer held back with the passages shown. When your papers don't say, it answers "Not in your papers." instead of guessing.
Without the local AI, you get the passages alone. See Set up the local AI.
Receipts#
The Receipts tab keeps what you bought, from whom, on what day and for how much, with its order number, the last day to return it and the day its warranty ends, as the receipt or warranty card says them. The receipts come from every mail account the Chamberlain reads and from its document folders: order confirmations, invoices (attached or saved), and paper receipts scanned or photographed into a PDF. The local AI reads them a few at a time in the background, so the PC stays free.
- Three tiles at the top: what you spent this quarter, how many receipts were found and how many emails and documents are still to check, and any return or warranty that ends soon.
- The year's four quarters, each with what was spent in it. Pick one, the whole year, or any dates you like.
- By category, beside the quarter's receipts on a timeline: a month at a time, each day with its receipts, and each month's total. Sort them by newest, oldest, amount or seller. Click a category to see only its receipts. A category comes only from what the receipt itself names, like Amazon's "Ordered 2 items: Personal Care, Measuring Tools". A receipt that names none is Uncategorised, never guessed.
- Money back: refunds, returns, cashback and credits show in green, and never count as spending.
- Each currency apart: totals are never added across currencies. The one most of your purchases are in comes first.
- The search box finds a receipt in any quarter, by a shop, a thing or an order number. Open any line to see the email or document it came from.
Nothing on the tab is guessed. A date, a price or a warranty's end shows only when the receipt says it; a receipt with no date of its own shows on the day its email came (or its document was saved), and says so. An order's "Ordered" and "Shipped" emails are one purchase. Alerts from your bank or card ("It looks like you were charged twice", "Unusual spending on …") aren't counted as purchases: the shop's own receipt is the one that counts.
Ask the Butler "when did I buy my monitor?" or "is it still under warranty?", and the Chamberlain's receipts answer. A switch on the tab turns the gathering off: nothing is read or shown while it's off, and what was read is kept for when it's on again.
While the first look through a big mailbox goes on, the Chamberlain's card in Castellan says Settling in, with how many emails and documents it has checked. When the work isn't getting further, the reason shows on a line of its own, in plain words: waiting for the local AI, say, or the local AI busy with other work.
What it's doing#
Under the search box, What it's doing shows whether it's reading now and what, how far it has come, with a bar ("1,200 of 3,400 messages"), and when the next round comes. Tiles show what it holds, what waits, what it leaves alone and what it downloaded today.
Under the tiles are your documents, each mail account, and what the Chamberlain leaves alone:
- Each mail account shows how much of its mail is read, of about how much there is ("1,500 of about 35,300 messages"), and what it downloaded today against its daily limit for older mail, with when the rest comes.
- Left alone counts the files it couldn't read. See which lists each one, with why.
Documents saved twice#
The Duplicates tab lists documents saved more than once:
- Exact copies: the same file, byte for byte. One of each is picked to keep, and the rest are checked.
- Same content: the same words and pictures in two files of the same kind. Nothing is checked: you choose.
Recycle the checked looks at each file again, and sends it to the Recycle Bin. It never deletes outright, and never every file of a group. Keep all hides a group until one of its files changes.
Your privacy#
- Everything it keeps stays in its folder on this PC. Castellan's backups leave out the index and your mail passwords.
- Mail passwords are encrypted for your Windows account, and never shown again, logged or backed up.
- Outlook.com, Hotmail and Microsoft 365 sign in with Microsoft, in your browser: the Chamberlain never sees your password. What Microsoft gives it to fetch your mail is kept encrypted on this PC, and goes to Microsoft alone.
- Its page answers only on this PC.
- A file kept online only, in OneDrive or another cloud folder, is never opened, since that would download it. It's read once its sync brings it to this PC.
- Attachments and Office files are read in memory, never unpacked onto the disk. A program in a zip is named, never taken out or run.
Its page#
The Chamberlain's page is at http://chamberlain.localhost:20303/, and Open on its card in Castellan goes there. It has three tabs, Search, Receipts and Duplicates. About shows the folders it reads and your mail accounts.
Its settings#
| Setting | Default | What it does |
|---|---|---|
| Document folders | Automatic: your Documents folder | Folders read, with their subfolders. |
| Cloud folders | On | Read the documents your cloud services keep on this PC. |
| Mail folders | None | Folders of mail saved as files. |
| Thunderbird's mail | Off | Read Thunderbird's own folders. |
| Mail accounts | None | See Add a mail account. |
| Read attachments | On | Off: attachments are named only, and what was read leaves the index. |
| Find by meaning (Advanced) | On | Off: a search is by your words alone. |
| Largest document read (Advanced) | 50 MB | 1 to 500. |
| Documents read per round (Advanced) | 1,000 | The rest wait, newest first. |
| Older mail downloaded a day (Advanced) | 1,500 MB | For each account. A round fetches new mail first, then older mail, newest first, until this is used up. Keeps Gmail from turning IMAP off. Lower it on a metered connection. |
| A round every (Advanced) | 30 minutes | 5 minutes to a day. |
Re-rank by meaning reorders the top results by what they mean, when the local AI's search model is already running. It's on at first, and set for the Chamberlain and the Clerk together in Castellan's Settings > Employees, under Settings for the whole staff.
What it can't do#
- Scans, and photos of letters: no text to read.
- Older Office files (
.doc,.xls,.ppt) and.odtaren't read. Exact copies of them are still found. - Outlook's
.pstfile isn't read: use your mail account, or export the mail as.msg. - Google Drive's streamed drive (G:) is left alone: everything on it would be fetched from Google. Choose Mirror files in Google Drive's settings to have it read.
- Search is by your words without the local AI, or with Find by meaning off. A document with none of them isn't found.
- Mail kept both in Thunderbird and in the same account is in the index twice.
Related articles
Is this page right?
If something on it is wrong or out of date, tell us and we'll fix the page.
Still stuck? Write to support@castellan-software.com and mention article 2801. Every version of Chamberlain, and what changed in it, is in its release notes.