If Mail on your Mac keeps asking for your password
Mail may say that it can't connect to your email account, and repeatedly ask you to enter the password for it.
Mail is connecting to your email service provider, but it can't connect your email account because your email provider isn't accepting your email password.
Your email provider may reject your password for several reasons, including:
You're not using your current email password. If you updated the password on another device, make sure that you're using the same password on this device.
Your email provider needs you to update or reset your password for security reasons. For example, if you turned on Google’s two-step verification, your Gmail account in Mail now requires the appropriate app password.
Your email provider deactivated or suspended your account. Contact your email provider for help.
Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Risks are inherent in the use of the Internet. Contact the vendor for additional information. Other company and product names may be trademarks of their respective owners.