Chapter 02
Add your accounts
Microsoft 365, Outlook.com, Gmail, imap and pop3.
You can put all your mail in one window: work, home, Gmail, an old imap box. Each account gets its own encrypted cache.
Add a Microsoft 365 or Outlook.com account
This is for work and school accounts, and for outlook.com, hotmail.com and live.com addresses.
- Open Settings (the gear at the top right) and go to Account.
- Click Add Microsoft 365 account, or Add Outlook.com account for a personal address.
- A small browser window opens with the Microsoft sign-in page. Sign in as you always do, with your password and your second step if you have one.
- The window closes by itself. Your mail starts coming in.
Kopermail never sees your password. You type it in the Microsoft page, and Kopermail only keeps the session that Microsoft gives back. That session lives in memory and is never written to disk.

Your company does not have to register anything or give admin consent. If your company only accepts sign-ins from its own PCs, read the gateway chapter.
Add a shared mailbox
- In Settings > Account, click Add shared mailbox.
- Type the address of the shared mailbox.
- Pick which of your Microsoft 365 accounts opens it.
The shared mailbox now has its own place in the folder pane.
Add Gmail
Gmail works in two ways. The easy one is an app password.
- On your Google account, turn on two-step verification if it is not on yet.
- Make an app password on the security page of your Google account.
- In Kopermail, click Add other account (Gmail, iCloud, IMAP, POP3).
- Type your Gmail address and click Fill in servers.
- Paste the app password in the password field and save.

The other way is Sign in with Google. It needs no password in Kopermail, but you first make a small OAuth client of your own in the Google Cloud console. The README on GitHub has the four steps.
Add any other mail account
iCloud, Fastmail, your provider at home: if it speaks imap or pop3, it works.
- Click Add other account (Gmail, iCloud, IMAP, POP3).
- Pick IMAP or POP3 at the top right of the form.
- Type your address and click Fill in servers. For most providers that finds the right servers.
- Type your password and save.

IMAP or POP3? Take IMAP when you also read your mail on a phone or another computer. POP3 takes the mail off the server into this computer. You choose if a copy stays on the server.
See which accounts are connected
The status bar at the bottom says how many accounts are connected. Click its arrow for the accounts panel. Every account has a dot, its state and a button that fits: Sign in, Sign out or Cancel.

When an account waits for a Microsoft sign-in, a bar at the top tells you which one, with a Sign in button.

Names, colours and groups
Click Edit next to an account to give it your own name and a colour. The colour shows in the folder pane and in All inboxes, so you see at once where a mail came to.
With many accounts, make groups like Work and Home in Settings > Account. Per group you choose:
- whether new mail gives a notification, so Work stays quiet in the evening
- how often it syncs
The switcher at the top of the folder pane shows all accounts or one group.