Can't setup Gmail outgoing email address to allow sharing

I am having an issue with adding my outgoing email to Nextcloud

Gmail, with the correct settings from Google. https://support.google.com/mail/answer/7126229?hl=en

I also allowed “Allow less secure apps” in the google account.

The error I keep receiving:

A problem occurred while sending the email. Please revise your settings. (Error: Failed to authenticate on SMTP server with username "aXXXX@gmail.com" using 1 possible authenticators)