Docs · 2 of 8
Setting up Mail servers mode
Mail servers mode connects from your Mac straight to your accounts' IMAP servers, without going through Apple Mail. It needs a license and a password for each account, and gives you three things in return:
- deletes are much faster, which matters when a list sent thousands of emails
- it reaches mail Apple Mail never downloaded, like archived Gmail
- it finds each account's Trash and Junk by itself, in any language
Mail app mode is still the better everyday choice, and the only one for some accounts: see the end of this page. You can switch between the two at any time, so nothing here replaces what the tutorial set up.
1. Import your accounts from Mail
Open Settings (⌘,) › Accounts and click Import from Mail. The first time, macOS asks whether Unsubscribe may control Mail: click OK. If you clicked Don't Allow, turn it on in System Settings › Privacy & Security › Automation.
Unsubscribe copies each IMAP account's address, server, port and user name, Gmail and iCloud included. POP and Exchange accounts are skipped, and a note says how many; Mail app mode still covers them.
Mail doesn't share passwords, so every imported account shows Password needed until you add one.

No Mail accounts, or one Mail doesn't have? Click Add Account… and type the address: for Gmail, iCloud, Yahoo, AOL, Fastmail and a few others the IMAP server is filled in for you. For anything else, take the server name from your provider's help pages.
2. Get an app-specific password where needed
Gmail, iCloud, Yahoo, AOL and Fastmail don't accept your normal password from mail apps. Each one lets you make an app-specific password instead, in the account's security settings:
- Gmail: turn on 2-Step Verification, then create one under App passwords in your Google Account
- iCloud: account.apple.com › Sign-In and Security › App-Specific Passwords
- Yahoo and AOL: Account Security › Generate app password
- Fastmail: Settings › Privacy & Security › App passwords
Name it "Unsubscribe" so you know what to revoke later. Other providers usually take your normal password; work and school accounts may need one from your IT department.
3. Enter the password and test it
Click Edit… next to an account, paste the password and click Test Connection. Connected. in green means it works; anything else shows the server's own error in red. Click Save.

The password goes into your Mac's Keychain, not into Unsubscribe's settings, and is only ever sent to that account's server. If saving it fails, check in Keychain Access that your login keychain is unlocked, then enter it again.
Repeat for each account. Unsubscribe connects over an encrypted connection on port 993; an account imported with port 143 is moved to 993 for you.
4. Switch modes and scan
Close Settings and switch to Mail servers with the button in the toolbar, or press ⌘2 (⌘1 goes back to Mail app). Unsubscribe connects to each account and scans it. The table, the Unsubscribe button and the Delete box work as in Mail app mode.

If an account can't be scanned, the window says so, with the reason, and the status bar counts the accounts that failed.

The usual reasons:
- no password saved: add it in Settings › Accounts
- a login error: the password is wrong, or the provider wants an app-specific one
A delete from an account with no Trash folder stops with no Trash folder found on the server, in the delete's log, and leaves the emails where they are rather than delete them for good.
When to stay in Mail app mode
- Outlook.com and Hotmail no longer accept passwords over IMAP, so they work only in Mail app mode. Unsubscribe warns you when you add one.
- POP3 and Exchange accounts can't be used here: POP has no Trash, and Exchange needs a Microsoft sign-in rather than a password.
- Work and school accounts may block IMAP connections altogether.
- Offline: Mail servers mode needs a connection to every server; Mail app mode reads the copies on your Mac.
Removing an account in Settings › Accounts also deletes its password from your Keychain.