In case you have more than one account in Google (which is probably most of developers), you probably faced an issues when you found your self with list of docs in Google Drive that you can't recognize. The reason in most cases is that Google just getting you to Drive with your other account. The solution is pretty simple. The link to the Google Drive (GMail as well) support authuser parameter. So using the following link will always log you in to Drive as specified account https://drive.google.com/drive/u/? authuser=myprivateemail@gmail.com As I told - same will work also for Gmail - https://mail.google.com/mail/u/? authuser= myprivateemail@gmail.com
ASP.NET tips, problems and solutions discovered during development