Gmail – When using the Gmail preview pane lab, fastest way to get a direct link to a conversation

gmail

In vanilla Gmail, clicking on a conversation alters the fragment ID in the URL, allowing you to link back to that conversation. (It opens in its own Gmail interface.) I am using the preview pane, which is great, except that the URL no longer updates when viewing specific emails, so there appears to be no way to get the link to the currently-viewed conversation. (The 'open in new window' button doesn't help, since it pulls its contents in on the client side; it isn't a standalone link.)

The only solution I've found is to turn off the preview pane, find the message again in the list, open it, grab the link, go back to the message list, and turn preview pane back on. That's fairly onerous for something I do often though (to clip Gmail conversations to Evernote, where my GTD setup lives).

Best Answer

This is a major kludge, but will do the trick. First install the bookmarklet from this answer.

javascript:window.location="https://gmail.com/#search/rfc822msgid:"+encodeURIComponent(window.document.body.innerHTML.match(/Message-ID: <(.*)>/)[1])+"/"+encodeURIComponent(window.location.search.toString().slice(1).split('&').filter(function(x){return x.slice(0,3) == "th="})[0].slice(3));

Then follow these instructions.

  1. Click the menu button to the right of the message's "reply-to" button and select Show original. enter image description here
  2. After the message's raw source is shown on a new tab (it will resemble the below screenshot), click the bookmarklet.

    enter image description here
  3. A new tab will now open with the regualrly formatted message. You can now bookmark or copy the message's URL.