Google YOLO login prompts can now be disabled in your Google Account settings:
Google Account sign-in prompts
Allow Google to offer a faster way to sign in with your Google Account on supported third-party sites
Uncheck that option to prevent the pop-up.
Also asked/answered on SuperUser here:
This isn't an official Google application, but this is might be what you're looking for.
G Desktop Suite is a desktop wrapper for Google Drive built with ElectronJS.
I use this (equally tedious) method:
Hover the mouse on the first message of the thread, whose id is needed, a small toolbar is displayed as follows which has a button (envelope icon) to forward the message/thread to yourself. Click the same and you would receive an email in your gmail-inbox.
Now open the message that arrives in the mailbox, which would ...
What are shared drives?
This feature is available with G Suite Enterprise, Enterprise for Education, Drive Enterprise, Business, Education, and Nonprofits edition.