This probably happens because Google Drive's windows service caches your credentials (or the special password you 2-factor users have to make for programs that can't do 2-factor), in order to authenticate and sync between cloud and desktop.
Clicking the link uses those cached creds to authenticate you and pass you to the website...then since you're already authenticated, clicking "Gmail" takes you to your inbox.
So maybe the credentials we give to Drive shouldn't have permissions to Gmail? Can we set the permissions for the 2-factor passwords we create? Why not?
This probably happens because Google Drive's windows service caches your credentials (or the special password you 2-factor users have to make for programs that can't do 2-factor), in order to authenticate and sync between cloud and desktop.
Clicking the link uses those cached creds to authenticate you and pass you to the website...then since you're already authenticated, clicking "Gmail" takes you to your inbox.
So maybe the credentials we give to Drive shouldn't have permissions to Gmail? Can we set the permissions for the 2-factor passwords we create? Why not?