Menu
It says 'Login Failed' in the top right. The problem is, I can't figure out how to update the password so it works again. When I go to 'accounts' in 'preferences', there's literally no password field. It lists Description, Alias, Email Address, Full Name, Incoming Mail Server, User Name, Outgoing Mail Server, TLS Certificate. This automatically adds the account to the default iOS mail app, but it doesn't work for MFA users because it is not configured with OAuth/modern authentication, and this causes all kinds of problems for the users. I believe the full version of Intune MDM has an option to enable OAuth now, but it hasn't been addressed in Office 365 MDM for. Question: Ever since installing macOS 10.14 Mojave I have only gotten my primary Gmail account up and running. My secondary Gmail account that I only want to use for eMail though macOS Mail.app still isn't setup properly: I keep having a 'Login Failed' warning displayed in the upper right corner of my All Mailboxes window.
If your Mac is connected to the Internet but suddenly stops sending email, you should generally try again later, and if necessary work with your email provider to resolve. If you're using Apple's iCloud Mail, learn how to resolve issues with iCloud Mail.
Check for status messages
You might see a status icon such as a lightning bolt or warning symbol next to your account's inbox in the Mail sidebar, or in the upper-right corner of the Mail window. Click it to learn more.
- If the status is Network Offline, make sure that your Mac is connected to the Internet, then try again.
- If the status is Login Failed, check with your email provider to be sure that your account is set up correctly on your Mac.
- If Mail asks for your password, but entering the password doesn't help, find out why your email provider is rejecting your password.
- If your email service is temporarily unavailable, your email provider might have a status message on their website. For example, Apple's system status page shows the status of iCloud Mail. Status pages are also available for other email services, such as Gmail and Outlook. Some brief service outages might not appear on a system status page, so you might want to wait a few hours and try again.
Test using webmail
Many email providers offer webmail, which is a way to use email with a web browser such as Safari, instead of with an email app such as Mail. For example, if you're using an iCloud Mail account, you can use iCloud.com to send and receive email.
Webmail is a good way to verify that your account is valid and you can sign in to it from the web, but it doesn't mean that your account is set up correctly in Mail. Your email provider can help you verify your email settings and check for other issues that affect sending or receiving email.
Several people are experiencing issues with Gmail (especially G Suite) email accounts in Mail on Mac. It seems that the Mail App is not working as expected for some Gmail users. More specifically, some Gmail users have said that after installing the macOS 10.14.4, and launching the Mail app, some Gmail users are asked to authenticate their email addresses. They get a notification saying:
See also: macOS Mojave Freezes or Stops Responding, Fix
“Enter the password for the account “(null)”: Google requires completing authentication in Safari.” This takes users to a Google web login form. However, shortly after authenticating, the Mail app asks for authentication once again, and again, as the process does not stick and goes into an endless loop.
Please note that we contacted Apple regarding this issue, and we were told that Apple is currently working on a fix.
In the meantime, you can try the following fixes:
1– Changing your Gmail account’s security settings may fix this problem. Open Google’s My Account site (https://myaccount.google.com) and click Security (On the left navigation panel) and then scroll down and find the “Less secure app access” section and turn this on (note that Google recommends this OFF).
See also: Mail App Keeps Crashing
2- Set up your email account using IMAP. Please note that this process will delete your messages and will no longer available on your Mac. But do not worry, your mails will not be removed from Google’s servers, you can still access your mails via gmail.com web site. Here is how:
- Open the Mail App
- Click Mail
- Click Preferences
- Click Accounts
- Select your Gmail account
- And click the (-) remove button
- Now we will re-add your Gmail account
- Before that, let us make sure that IMAP access is enable. If not, you can do that easily. To enable IMAP in Gmail, login into your Gmail web client (gmail.com) and then click Settings:
- Click the Forwarding and POP/IMAP tab
- Select Enable IMAP (IMAP access section)
- And scroll down and click Save.
- Now again in Mail App, choose Mail
- Click Add Account
- Select Google, then click Continue
- Enter your email and click Next
- Enter your password and click Next
- And follow the instructions
If this does not work, try the “Add Other Account” option and add smpt/imap info manually:
- Incoming server: imap.gmail.com
- Outgoing server: smtp.gmail.com
3- Open Safari and go to https://accounts.google.com/b/0/DisplayUnlockCaptcha and then enter your username and password, then enter the letters (captcha) then try again.
4-Please try the following:
- Quit Mail App.
- Open Keychain (Applications > Utilities or Spotlight Keychain)
- Search: google.oa
- Find the accounts that you are having trouble accessing, and delete Keychains
- Now go to https://accounts.google.com
- Sign in with your problematic account
- Click Security (left menu)
- Find the “Third-party apps with account access” section and click “manage third-party access”
- Click macOS and to revoke its access
- Then sign out (https://accounts.google.com)
- On your Mac, go to System Preferences > Internet accounts and re-authenticate your account
- And open your Mail and try again
5-Still having the problem? if so try this:
- Download and install Charles (a proxy app): https://www.charlesproxy.com/latest-release/download.do
- Authorize automatic proxy, when asked
- In Charles go to the Help menu and then choose SSL Proxying > Install Charles Root Certificate
- Keychain Access will open. Find the “Charles Proxy…” (you may type Charles to search).
- Double click on it.
- Expand the Trust section and set to “Always Trust”.
- Close the window, enter your password when you are asked.
- In Charles, choose SSL Proxying Settings (Proxy menu).
- Add a new location with Host: people.googleapis.com
- Go to the Tools menu and then choose Rewrite and click Add.
- Add a new location with Host: people.googleapis.com.
- Add a new action:
Type: Body
Mac Mail Google Authentication Failed
Where: Response
Replace Value: {“names”:[{“metadata”:{“primary”:true},”displayName”:”Your Name”}],”emailAddresses”:[{“value”:”your@email”}]}
Mac Mail App Login Failed Server
- And now on your Mac, open System Settings and Internet Accounts and re-authorize your account.
- Now test to see if it is working, if your issue is resolved now, feel free to remove the Charles app.
Apple Mail Login
See also: macOS Mojave Draining Your Mac Battery Life? Here Is How To Fix