The last beta of OS X has apparently removed the option to create POP3-type email accounts for Gmail in Mail.app. When you type in a Gmail account, IMAP is setup automatically. Presumably because OAuth doesn’t work all that well with it.
There (currently) is a workaround.
- Turn off/unplug your Internet connection. This will force Mail to not verify the settings that you are giving it.
- Open Mail.app -> File Menu -> Preferences -> Accounts tab
- Hit the + button to Add Other Mail Account
- In the email address field in the following box, enter something that IS NOT @gmail.com. Enter some random email.
- Mail.app will now inform you that manual setup is required. That’s exactly what we wanted in the first place, thank you very much. In the next screen, you will get to pick IMAP vs POP. Pick the POP tab and enter the correct Gmail POP server information and Gmail outbound SMTP server in the following screens, for your account. Make sure to use SSL and port 995 if appropriate
- Use the application-specific password in the password field if you have two-factor auth setup.
- Once setup is complete and you are thrown back into the preference pane, change the “Email Address” field back to the correct email address @gmail.com
- Under “Advanced”, untick “automatically detect and maintain account settings”
- Quit Mail.app. Turn Internet connection back on
- When you re-open mail.app, the POP account should be operational
Hooray for we remaining holdouts, still using obsolete and dubiously secure technology. Because when I want mail on my local machine, I mean I want mail on my local machine, The Cloud(tm) be damned.
Note they might still change this depending on feedback received. I would advise giving such feedback if you care at all.