Hello kikou
Sorry for the trouble.
This Google message usually appears when the app version or sign-in method is not accepted by Google. Please make sure Aqua Mail is installed from Google Play and updated to the latest version. If you installed Aqua Mail from an APK, backup, clone app, or another store, Google may block the sign-in.
Then update these from Google Play as well: Google Play Services, Chrome, and Android System WebView if it is available on your device.
After that, add the Gmail account using the Gmail/Google sign-in option (automatic) in Aqua Mail, not manual IMAP/password setup.
For Yahoo, use the Yahoo option if available, or Yahoo’s official app password if your account requires it.
I hope this helps.