this is more of a process question. After getting some more grey hairs after figuring out how to setup the secret IDs at the Google website the code for connecting with OAuth to Gmail actually works.
But what comes then? Please correct me if I misunderstand something:
Mit freundlichen Grüßen/Regards
http://www.mothsoftware.com Mail Archiver X: The email archiving solution for professionals
You should protect the access token, because it's effectively your password for some time.
Yes, you pass the access token instead of the password in the Password argument.
Thanks for the info!