Predictable Links to Multiple GSuite/GMail Accounts

I run multiple personal and business domains with Google mail accounts.

I want to create links (both synced in Chrome bookmark bar and in a web page) to each mail account that I know will always take me to the account I want, even when accessing from different devices (I have a minimum of 2 primary laptop devices I login from regularly).

There is a URL schema Google uses to generated each logged-in account – e.g. https://mail.google.com/mail/u/0/#inbox (then increment the number for each inbox) – but if don’t login to each account in the exact same order on each device, then they get out of sync.

 

Today I found a solution.

To access the desired mailbox via a predictable URL, use the following template: https://mail.google.com/mail/u/?authuser=user@gmail.com.

Change the user@gmail.com to the actual email address.

This also works for emails in custom GSuite domains (e.g. my jsnelders.com domain), because underneath all @gmail.com and GSuite domain emails redirect back to the same number based URL template I originally mentioned.

I also figured out the URL to link to a specific Google Calendar is: https://calendar.google.com/calendar/?authuser=user@gmail.com.

Again, the URL will cause a redirect.

 

I’ve only tried these with accounts I’m already logged into. I’m not sure what happens on a new system where you haven’t logged in yet, but I expect they should still work just fine.

 

Resources

I originally performed a search for “link url to multiple gmail account” which lead to to answers at:

 

Update (same day): I somehow logged myself out of all Google accounts in Chrome while trying to re-establish a sync between computers. So mail account links I setup started going to the same Gmail account (the account I setup for the sync). But after logging back into each of my GMail/GSuite accounts all the links worked fine again, so I reckon that’s a validation the permalinks work.