Mailbox provider guides
How to connect each common email provider as a mailbox: server settings, the kind of password to use, and the provider-side switches you may need to flip. Choosing the provider in the Provider list of the Connect a mailbox sheet fills in the servers for you.
Where to find it
Open Settings → Mailboxes → Connect a mailbox and use the Provider list in the Connection section. The options are Gmail / Google Workspace, Microsoft 365 / Outlook.com, Fastmail, Zoho Mail, iCloud Mail, Yahoo Mail and Other / custom.

Server settings at a glance
| Provider | IMAP | POP3 | SMTP | Sign in with |
|---|---|---|---|---|
| Gmail / Google Workspace | imap.gmail.com, port 993, SSL/TLS | pop.gmail.com, 995, SSL/TLS | smtp.gmail.com, 465, SSL/TLS | App password |
| Microsoft 365 / Outlook.com | outlook.office365.com, 993, SSL/TLS | outlook.office365.com, 995, SSL/TLS | smtp.office365.com, 587, STARTTLS | Microsoft 365 |
| Fastmail | imap.fastmail.com, 993, SSL/TLS | pop.fastmail.com, 995, SSL/TLS | smtp.fastmail.com, 465, SSL/TLS | App password |
| Zoho Mail | imap.zoho.com, 993, SSL/TLS | pop.zoho.com, 995, SSL/TLS | smtp.zoho.com, 465, SSL/TLS | Password or app-specific password |
| iCloud Mail | imap.mail.me.com, 993, SSL/TLS | not available | smtp.mail.me.com, 587, STARTTLS | App-specific password |
| Yahoo Mail | imap.mail.yahoo.com, 993, SSL/TLS | pop.mail.yahoo.com, 995, SSL/TLS | smtp.mail.yahoo.com, 465, SSL/TLS | App password |
| cPanel and other hosts | usually mail.yourdomain.com, 993 | usually 995 | 465 or 587 | Mailbox password |
IMAP is recommended everywhere it is offered: it can also read your Sent folder. See POP3 limits.
Gmail and Google Workspace
- Turn on 2-Step Verification for the Google account.
- In your Google Account go to Security → 2-Step Verification → App passwords and create an app password. Use it in the Password field, not the normal account password.
- In Gmail settings → Forwarding and POP/IMAP, make sure IMAP is enabled.
- In SilverInvoice choose Gmail / Google Workspace, enter the address as the Login and the app password, and click Test connection.
- Leave Save mail sent from SilverInvoice in the Sent folder off: Gmail files mail sent over SMTP in Sent by itself.
Note Google Workspace administrators can turn app passwords off for the whole domain. If you can't create one, ask your admin. Signing in to a mailbox with a Google account (OAuth) isn't offered; Gmail mailboxes use app passwords. Calendars are different: they do use Google sign-in, see Calendars.
Microsoft 365
Microsoft has switched off password sign-in for IMAP and POP, so SilverInvoice signs in with Microsoft's own authorization (OAuth). You grant consent once and the mailbox keeps working.
- In Connect a mailbox, choose Microsoft 365 / Outlook.com as the Provider. Enter the mailbox's Name and Email address. For a shared mailbox, use the shared mailbox's own address in both Email address and Login.
- Click Save and connect. You are sent to Microsoft's sign-in page.
- Sign in with a Microsoft account that can open the mailbox, and approve the permissions. For a shared mailbox, any user with Full Access to it will do.
- You return to Settings → Mailboxes with a confirmation. New mail arrives within a couple of minutes.
The mailbox shows Needs connecting until step 3 is done.
If your organization blocks user consent
Some Microsoft 365 tenants stop ordinary users from approving apps. A tenant admin can approve SilverInvoice for everyone once with:
https://login.microsoftonline.com/<your tenant ID or domain>/adminconsent?client_id=<SilverInvoice application ID>
After that, any user with access to the mailbox can connect it. If you don't have the application ID, ask whoever manages your SilverInvoice installation.
Turn on SMTP AUTH for the mailbox
Exchange Online disables Authenticated SMTP per mailbox by default, and without it SilverInvoice can read mail but not send. In the Microsoft 365 admin center open Users (or Shared mailboxes) → the mailbox → Mail → Manage email apps, and tick Authenticated SMTP. IMAP (or POP) should be ticked too; both are on by default. The PowerShell equivalent is:
Set-CASMailbox -Identity [email protected] -SmtpClientAuthenticationDisabled $false
Shared mailboxes
Give the connecting user Full Access and Send As on the shared mailbox, then connect it with the shared mailbox's own address. A shared mailbox needs no licence.
Revoking and reconnecting
- If consent is revoked (in Microsoft Entra under Enterprise applications, or in the user's My Apps page), a user's password is reset, or the connection sits unused for about 90 days, the next check fails: the mailbox shows Needs connecting, Owners and Admins are notified, and reading and sending stop.
- Fix it with Reconnect Microsoft 365 in the mailbox's ... menu or its edit sheet.
- Removing the mailbox in SilverInvoice deletes the stored sign-in.
Fastmail
- In Fastmail go to Settings → Privacy & Security → Integrations and create an app password with IMAP and SMTP access.
- Choose Fastmail in SilverInvoice and use the app password.
- Fastmail doesn't file mail sent over SMTP in Sent, so leave Save mail sent from SilverInvoice in the Sent folder on (the preset does this).
Zoho Mail
- Enable IMAP access in Zoho Mail settings.
- If two-factor authentication is on, create an app-specific password and use it as the password.
- Regional data centers use their own hosts (for example
imap.zoho.euandsmtp.zoho.eu). If your account isn't on the .com data center, choose Zoho Mail and then change the server names by hand.
iCloud Mail
- iCloud has no POP3; use IMAP.
- Create an app-specific password at appleid.apple.com.
- Use the full iCloud address as the login.
Yahoo Mail
Generate an app password under Account security in your Yahoo account and use it as the password.
cPanel and other hosts
- Ask your host for the IMAP and SMTP server names; they are often
mail.<yourdomain>. - Choose Other / custom and enter them, with the port that matches the security mode (993 or 995 and 465 are SSL/TLS; 143 and 587 are STARTTLS).
- Use the mailbox password.
Warning Hosts with self-signed or mismatched certificates won't connect. The certificate must be valid for the server name you enter.
Sending from aliases
An alias is another address delivered to the same account (see Mailboxes). The SMTP login belongs to the account, so your provider has to allow it to send as each alias, or it will quietly rewrite the From line to the account's own address. Test connection can't detect this.
| Provider | What to set up |
|---|---|
| Gmail / Google Workspace | In Gmail settings → Accounts → Send mail as, add the alias (Workspace domain aliases too) and choose "Treat as an alias". |
| Microsoft 365 | For addresses of the same mailbox, an admin enables sending from aliases for the organization (Set-OrganizationConfig -SendFromAliasEnabled $true). For another mailbox's address, grant the account Send As on that mailbox. |
| Fastmail, Zoho, iCloud | Add the alias as a sending identity or alias address in the provider's settings. |
| cPanel and others | Usually any address on the domain the account may use; check your host's SMTP policy. |
POP3 limits
POP3 works, but with limits you should know about before choosing it:
- There are no folders, so no Sent-folder sync: replies sent from other mail apps don't show up in conversations.
- New mail is found by message ID only. The first check reads every message on the server once to apply the import window; after that only new ones.
- Mail always stays on the server. If another mail app deletes POP3 mail, conversations already imported into SilverInvoice are kept.

Permissions
Connecting and editing mailboxes needs the mailbox permission, which Owners and Admins have. See Mailboxes.