Visit https://account.apple.com/ and login with your credentials.

Access App-Specific Passwords (as image below)

Screenshot 2025-03-14 at 18.14.34.png

Click Generate an App-Specific password

Screenshot 2025-03-14 at 18.14.40.png

Give it a name, for example “one.email”

Screenshot 2025-03-14 at 18.14.47.png

Apple will ask you confirm your password

Now copy the password generate and displayed as below

Screenshot 2025-03-14 at 18.15.54.png