Gmail, Office 365, and Outlook.com accounts sign in through your browser, so two-factor prompts happen there and Mailspring never needs your password. For providers that use a plain IMAP password, Mailspring can’t answer a two-factor challenge itself — instead you use an app password. Some providers require an app password for every email client, whether or not you use two-factor authentication.
What is an app password?
An app password is a password generated specifically for use with a third-party application. Using an app password is more secure than using your regular account password.
What are the security benefits of using app passwords?
If you use an app password, you don’t have to give your regular password to third-party applications. This reduces the risk of your regular password being stolen by malware. Additionally, app passwords are generated with many random characters, which makes it more difficult for malware programs to guess the password. In the unlikely case that an app password is successfully stolen by malware, you can easily revoke access by deleting the app password. Your other passwords will still be safe, so you don’t have to go through the trouble of changing your password everywhere.
Which providers require an app password?
Some providers always require an app password, while others only require an app password if you’ve enabled two-factor authentication (2FA). As we discover which providers have these requirements, we will list them here, but there may be others that are not currently listed.
Providers that require an app password with 2FA:
- iCloud
Providers that always require an app password:
- Yahoo (see Adding a Yahoo account)
- Fastmail
- AOL
How do I generate an app password for my provider?
iCloud
- Go to https://appleid.apple.com/
- Click
Security, thenEdit.Create an app password. This is the password you should use with Mailspring. - In Mailspring, connect an iCloud account and use this password instead of your regular password when prompted.
You can read more about this process from Apple here: Using app-specific passwords - Apple Support
Fastmail
- Open the Settings → Password & Security screen. Log in if prompted.
- Enter your password at the top in order to be able to edit the settings.
- Scroll down to the App Passwords section and click the
New App Passwordbutton. - In the
Devicedrop-down, choosecustomand enter “Mailspring”. - Make sure the “Access” drop-down has
Mail, Contacts & Calendarsselected - Click
Generate Passwordand copy the shown password - In Mailspring, connect a Fastmail account with IMAP and use this password instead of your regular password.
Other services
How to Update Your Password
If you’ve already connected an account, go to Preferences > Accounts, and select the account you want to change the password for. Click Update Connection Settings... In the window that pops up, enter the new password in the Password field.
You may need to quit and restart Mailspring in some cases to see the change take effect.
Pro Features