Accounts

Setting up the Mailspring app with Gmail, Office 365, iCloud and IMAP

Illustration: Provider-by-provider sign-in steps, server names and ports, and settings worth changing afterwards.

The Mailspring app connects to nearly any mailbox, but the sign-in method depends on the provider. Big providers use browser sign-in, some need an app password, and the rest take manual IMAP and SMTP settings. Add accounts from the welcome screen, or later from Preferences → Accounts → Add Account.

Gmail and Google Workspace

  1. Choose Gmail or Google Workspace.
  2. A browser window opens on Google's sign-in page. Sign in and approve the requested access.
  3. Return to Mailspring, which finishes the setup and starts syncing your labels as folders.

Your Google password goes to Google, not to Mailspring. If you use a work or school Google account and sign-in is refused, your administrator may limit which outside apps can access mail. Ask them to allow Mailspring.

Office 365 and Outlook.com

Choose Office 365 for work or school Microsoft 365 accounts, or Outlook.com for personal Microsoft addresses (outlook.com, hotmail.com, live.com). Both use Microsoft's sign-in page.

  • Shared mailboxes: since 1.23.0, you can add an Office 365 shared mailbox you have access to.
  • Admin approval: some organisations require an administrator to approve new apps before staff can use them. Microsoft's sign-in page will say if that's the case.
  • Flagged mail: flags set in Outlook appear in Mailspring as starred messages.

Mailspring talks to Microsoft 365 over IMAP with Microsoft sign-in, not through Exchange Web Services, so Microsoft's retirement of EWS for Exchange Online doesn't affect it.

iCloud, Yahoo and FastMail (app passwords)

These providers expect an app-specific password instead of your normal one:

ProviderWhere to create the app passwordIMAP serverSMTP server
iCloud MailApple Account settings → Sign-In and Security → App-Specific Passwords (two-factor authentication must be on)imap.mail.me.com : 993smtp.mail.me.com : 587
Yahoo MailAccount security → Generate app passwordimap.mail.yahoo.com : 993smtp.mail.yahoo.com : 465
FastMailSettings → Privacy & Security → App passwordsimap.fastmail.com : 993smtp.fastmail.com : 465

Choose the provider in Mailspring, enter your full address and paste the app password. Mailspring usually fills in the servers for you.

Any other mailbox (IMAP / SMTP)

For company mail, web hosting mailboxes (cPanel, Plesk and so on) and smaller providers, choose IMAP / SMTP. Mailspring first tries to discover the settings automatically, using Thunderbird-style autoconfiguration added in 1.16.0. If that fails, enter them yourself:

SettingTypical value
IMAP serverimap.yourdomain.com or mail.yourdomain.com
IMAP port / security993 with SSL/TLS (or 143 with STARTTLS)
SMTP serversmtp.yourdomain.com or mail.yourdomain.com
SMTP port / security465 with SSL/TLS, or 587 with STARTTLS
UsernameUsually your full email address

Your provider's help pages list the exact values. If a custom port didn't seem to stick in older versions, update: 1.19.1 fixed the custom port field in IMAP setup.

No POP3

Mailspring supports IMAP only. If your provider offers only POP3, ask whether IMAP can be enabled, or use a client that supports POP.

Proton Mail through Bridge

Proton Mail encrypts mail end to end, so desktop clients reach it through Proton Mail Bridge, an app that runs on your computer and offers a local IMAP and SMTP server. Install and sign in to Bridge, then add an IMAP account in Mailspring using the host, ports and Bridge-generated password that Bridge displays. The 1.26.0 sync engine change specifically improved how Proton labels show up.

Settings worth changing after setup

  • Default signature per account: Preferences → Signatures.
  • Account for new drafts: since 1.24.1, a new draft in the unified inbox uses the account of the thread you're viewing.
  • Unread counts: 1.23.0 added an option to count unread mail across all accounts, and 1.24.1 can show unread counts for every folder.
  • Reply-To: since 1.21.0 the composer has a Reply-To field for sending from one address and receiving replies at another.

If an account won't connect, our troubleshooting article lists the usual causes. New to the app? Start with installing Mailspring.