mailx config question

hello -

this may not be the best forum to ask this, but i thought i would start here.

recently i configured node "nodemailer" to send mail, and it uses google oauth2 clientId & clientSecret.

is there any way to configure mailx in /etc/mail.rc to do something similar, using the google oath2 credentials?
 
since this forum question is now in the top position when searching for
"mailx" google oauth2 clientId clientSecret
i am going to assume this is not commonly done, yet.

this gets us a little closer:
 
Top