Since Gmail implemented multiple sign-on, I have been unable to create a bookmark URL that will always go to my "@gmail.com" inbox. For hosted domains, it's easy enough to make the bookmark URL: https://mail.google.com/a/example.com will always take you to your @example.com inbox. However, this does not work with @gmail.com addresses. I am aware of the https://mail.google.com/mail/u/[number] address form, however this address is dependent on the order in which you signed in to accounts during this browser session, and thus is not an acceptable URL that will always go to the same place.

Is there any URL that will always take me to @gmail.com address, assuming I am logged in to that account?

Javascript bookmarklets would be acceptable, but anything involving a plugin or add-on is not acceptable.


5 Answers 5


https://mail.google.com/mail/u/[email protected]

Seems to work quite fine for me.


Yes, once you are logged in, you can simply use your email address instead of the [number] in your URL. For example: https://mail.google.com/mail/u/[email protected]; this also works for Google Apps domains.

This also works great to go to a specific email, or filter, or so, with: https://mail.google.com/mail/u/[email protected]/#inbox/153d2095719946b

If you are not logged in to your [email protected] account yet, but to another account, then the link will not work and show "The conversation that you requested no longer exists."

  • 2
    Works as well as the accepted answer, and has the virtue of being shorter.
    – Kyralessa
    Oct 24, 2018 at 7:18
  • 2
    This works for me, unlike the accepted answer Oct 25, 2018 at 6:50
  • 3
    This also appears to work for third-party GSuite domains (i.e. https://mail.google.com/mail/u/[email protected]), whereas using https://mail.google.com/mail/u/[email protected] redirects to the default mailbox for me. Nov 29, 2018 at 16:02

Combining the information from the other answers with a fair bit of research, I believe this is the best way of referring to a particular GMail account:

https://accounts.google.com/ServiceLogin?service=mail&passive=true&[email protected]&continue=https://mail.google.com/mail/u/[email protected]/

This will redirect through accounts.google.com, making the relevant Email address log in if it isn't already logged in, and just select it if it is logged in. (If you remove passive=true, you'll always prompt for password.)

If you want to redirect to a particular fragment under GMail (e.g. to display a particular mail or contact), just URL encode the # as %23 - so add %23inbox/152bc41f0ca2d9bf at the end, like this:

https://accounts.google.com/ServiceLogin?service=mail&passive=true&[email protected]&continue=https://mail.google.com/mail/u/[email protected]/%23inbox/152bc41f0ca2d9bf

If what you want to do is create a pre-filled email, use a variant like the following:

https://accounts.google.com/ServiceLogin?service=mail&passive=true&[email protected]&continue=https://mail.google.com/mail/u/[email protected]/?view=cm%26fs=1%[email protected]%26su=SUBJECT%26body=BODY%[email protected]

Hat tip to robertwbradford for the parameters for send.

  • any way to pre-fill the password?
    – Kim
    Jun 15, 2017 at 13:55
  • @Kim No. Absolutely and specifically not. That would be horrific user security. If you need to authorise on behalf of a user, use OAuth2.
    – Greg
    Nov 26, 2017 at 17:08
  • Any tips on how to get a space into the body? I've tried + and %20 and &nbsp and they all break the link. Thanks for any help.
    – jaredcohe
    Jun 18, 2018 at 0:34
  • 2
    It turns out that you have to use %2B for spaces because those convert into + when the url is processed.
    – jaredcohe
    Jun 20, 2018 at 14:15
  • 1
    This is SO CLOSE to perfect. If I'm already logged into all my accounts, this URL form will redirect to the correct mailbox. If I'm completely signed out, it will prompt for login first. But if I am logged into ONE account and use the URL for the other, then Google can't be bothered to prompt for login because I'm ALREADY logged in -- so it skips the login and redirects to the WRONG account, just because it's logged in and the right account isn't. It will prompt for the login with "passive=false", but then it ALWAYS does. Why does Google's identity management suck so bad? It's ridiculous. Nov 14, 2022 at 22:23

Try this out, the below URL seems to be working for me:

https://accounts.google.com/ServiceLoginAuth?continue=http%3A%2F%2Fgmail.google.com%2Fgmail&service=mail&Email=[email protected]

Though I couldn't pre fill password

  • This works for me. This url does not assume you are already logged in.
    – Mnebuerquo
    Dec 19, 2014 at 14:28

Similarly to how you can form a URL to take you to a particular inbox, you can also form a URL to take you directly to a particular contact in a particular Gmail account like so:

https://mail.google.com/mail/u/?a[email protected]&?shva=1#contact/0123456789ABCDEF

Where 0123456789ABCDEF is the unique 16 character contact ID within that account.

After the ?authuser you include the &?shva=#1contact/ takes you the contact list for that user. You must include both characters &?.

This works regardless of how many Gmail accounts you are simultaneously logged into and regardless of login order. The ?authuser replaces the 0, 1, 2, etc. that Gmail typically substitutes.

Not the answer you're looking for? Browse other questions tagged or ask your own question.