To configure Gmail with OAuth2 in MyQ:
Log in to the MyQ web administrator interface, and go to MyQ, Settings, Connections.
Click +Add and select Gmail.
In the pop-up window, you are requested to authorize the connection by clicking Continue with Google.
Sign in with your Gmail account and allow MyQ to have access to your account.
Gmail is now connected to MyQ and is ready to be used in the Network settings tab as an Outgoing SMTP server.