How can I reliably link to a Gmail conversation given a thread ID if the user is logged into multiple accounts?

If you're logged into multiple Gmail accounts, Google changes the URLs to reference which account you're currently using. For example: https://mail.google.com/mail/u/0/#inbox/138d85da096d2126 for a