SMTP XOAUTH2 Relay
Make a Google API Project and import clientsecrets.json file:
xoauth2relay init clientsecrets.json
Then login:
xoauth2relay login foo@gmail.com
You can login another account:
xoauth2relay login bar@gmail.com
Run the application:
xoauth2relay -vvv serve
Now you can test it with a SMTP client:
telnet localhost 2500
To setup development environment:
python setup.py virtualenv make