1- Check to make sure your IP is not blocked
On the device that is causing problems, login to your client area which will automatically unblock your IP address if it was blocked. An IP may get blocked if the wrong username and password are entered in your email client or in an email client on the same network.
Important: If you are using a Mac and iCloud Public Relay is enabled the correct IP address may not be unblocked. If you still have issues with your email after logging into your client area, please disable iCloud Private Relay and login to your client area again to make sure your actual IP address is unblocked.
2- Remove Expired Certificates or Old Passwords Archived in Keychain on Mac
If your mail remains inaccessible due to the unable to verify account name or password error, check the Keychain to erase obsolete data. Delete any terminated or annulled certificates along with existing password duplications from the Keychain.
From Applications, launch Keychain Access and search for the entry based on the connections you use like here. Next, go to Mac mail and confirm your email, a password prompt will appear. Type the exact password in the account password field and enable “Remember this password in my keychain”.
3- Update Email Password in System Preferences
If you changed your Keychain password before, it may cause the verification problem. To fix the "unable to verify account name or password" issue in your Mail.app, you need to authorize the account in System Preferences by following these steps:
a) Open System Preferences and click on Internet Accounts.
b) On the left side, select the account that requires validation, and a password prompt will appear.
c) Click Cancel to view a comprehensive list of archived email accounts.
d) Enter the password in the blank fields and press the Tab key to move to the next field.
e) The system will verify your account as long as you enter the correct password. This same method can be used to confirm email accounts.
4- Re-add the Email Account
One way to fix the "unable to verify account name or password" issue is to delete and then re-enter the email details in the Mail app. This will remove the email cache from the system but preserve any attachments and data stored on the email server.
5- Delete the Email Account from the Mail.app
a) Open the Mail app.
b) Click on the "Mail" option in the top menu and select "Preferences" from the drop-down list.
c) Select the email account you want to delete from the left sidebar, and click on the "-" button at the bottom.
d) Click "OK" to finish the process.
6- Delete the Email Account from System Preferences
a) Launch System Preferences and select "Internet Accounts".
b) Select the email account you want to delete and click on the "-" button at the bottom.
c) Click "OK" to finish the process.
d) Restart your computer after the deletion.
d) To reintroduce the email account to the Mail app, go to System Preferences > Internet accounts or Mail App > Mail > Accounts.
7- Restart Your Computer
To solve the "unable to verify account name or password" issue, one of the easiest solutions is to restart the machine and launch Safari. This will generate new folders in just a few minutes. To do this, hold down the Shift key immediately after hearing the startup chime until the gray Apple icon and a progress bar appear. Although rebooting may take longer, it will refresh caches, launch a directory screening, and deactivate all login items, among other things.
8- Update iCloud Keychain
Make sure to turn off iCloud Keychain in all of your devices. After, enable iCloud Keychain that has up-to-the-minute Keychain items. Activate iCloud Keychain on the other devices. This updates the other devices with the new iCloud Keychain.