Skip to content
Castellan
Chamberlain's icon

How-to · Chamberlain

Read as

Add a mail account to the Chamberlain

Add Gmail, Outlook.com, Hotmail, Microsoft 365, iCloud or another mail account to the Chamberlain, so it reads your mail, read-only, on this PC.

Article
2802
Applies to
Chamberlain 0.10.4
Last reviewed
For
For everyone
Written for Chamberlain 0.10.4; Chamberlain 0.12.1 is out now. Some of this may have changed: what's new is in its release notes.

Where to add it#

Open the Chamberlain's page (Open on its card in Castellan), then its Settings, and the Mail accounts tab. Type your address in Add a mail account. Its provider is found, and its server filled in. Or choose the Provider yourself.

Each account is listed there with its provider: open one to change its name, its app password, how far back it reads or its folders, or to remove it. Removing an account forgets the app password or Microsoft sign-in kept for it on this PC.

The Chamberlain's page shows each account's state, and the one thing it may need from you, its app password or Sign in with Microsoft, with a link to Settings, Mail accounts.

Outlook.com, Hotmail and Microsoft 365: Sign in with Microsoft#

These take no password.

  1. Type your address, and press Sign in with Microsoft.
  2. Your browser opens Microsoft's own sign-in page. Sign in there, and approve Castellan reading your mail.
  3. The browser comes back to the Chamberlain. The account is added by itself, and its mail is fetched.

The Chamberlain never sees your password. What Microsoft gives it to fetch your mail is kept encrypted for your Windows account, and goes to Microsoft alone. Sign out, beside the account, forgets it on this PC.

Microsoft shows Castellan as an unverified app for now: its maker hasn't been through Microsoft's business check yet. An Outlook.com or Hotmail account can approve it all the same. A work or school account may need its admin to approve Castellan first. The page then says so, and gives a link to send your admin (Copy the link). Once they've approved it, sign in again.

An Outlook.com account added before with an app password: press Sign in with Microsoft beside it once.

Gmail, iCloud and others: an app password#

These sign in with an app password: a password your mail provider makes for one program, not your own. You need two-step verification on first. The page says where your provider makes one:

ProviderMake an app password
GmailTurn on 2-Step Verification, then make one at myaccount.google.com/apppasswords. There's nothing to turn on in Gmail's settings.
iCloud MailAt account.apple.com: Sign-In and Security, App-Specific Passwords
Yahoo Mail, AOL MailOn the provider's Account security page, under Generate app password
FastmailIn its Settings, under Privacy & Security
  1. Type your address. Gmail, iCloud Mail, Yahoo Mail, AOL Mail and Fastmail are found, and a work address on Google Workspace too. Another provider leaves the server to you: its help names it, and the port is usually 993.
  2. Type the App password, and Days back: how far back to read (90 at first; 0 reads all of it).
  3. Press Add account. The password is checked and encrypted, and the mail is fetched straight away. Then the account's check opens: see Check an account.

If Gmail refuses the sign-in, the page says why. See When the Chamberlain isn't working as it should.

Check an account#

Once an account is added, saved with a new password or server, given its password on the page, or signed in with Microsoft, a check opens that shows the Chamberlain can read its mail. It goes step by step: it reaches the server, signs in, opens the account's folders read-only, and counts about how many messages it will read.

Check, beside each account in Settings, Mail accounts and under Mail on the page, runs it again. When a step fails, it says what's wrong in plain words, and what to do.

The check only looks. It changes nothing in your mailbox, downloads no mail, gives up after 30 seconds, and never shows your password.

Big mailboxes#

  • Newest first. This week's mail is searchable within minutes. Older mail follows round by round, back to Days back.
  • All of it. Days back 0 reads the whole mailbox, however old.
  • Gmail's All Mail. A Gmail account added on the page reads [Gmail]/All Mail: your inbox, sent mail and what you archived. A message in two folders is kept once.
  • A daily download limit. Each account downloads at most 1,000 MB a day. Past it, older mail waits for the next day, and new mail still comes. Gmail allows 2,500 MB a day for all your devices together, and turns IMAP off past it. Change it under Advanced in Settings: Older mail downloaded a day.
  • Nothing lost. A round cut short, by sleep or an update, loses no mail.

A Gmail account you added before 0.7.0 keeps its folders. To read all of it once, set its folders to [Gmail]/All Mail in Settings, and its days back to 0 for every year.

What it does with your password#

It's encrypted at once for your Windows account, and kept apart from everything else. From then on, the page shows only "saved", and when. Change it, or remove the account, in Settings, Mail accounts. It's never shown again, logged, or backed up.

Attachments#

A message's attachments are read too, and found by search with their message. See What it reads.

Read-only#

The Chamberlain never sends, moves, flags or deletes mail, and opens each folder read-only, so nothing is marked read. Mail older than days back leaves the index. A message you delete on the server stays in the index until it's older than that.

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 2802. Every version of Chamberlain, and what changed in it, is in its release notes.