Skip to content

Instantly share code, notes, and snippets.

@bhenderson
Last active September 22, 2017 15:28
Show Gist options
  • Save bhenderson/987090cad9b1895c3cafbbc99a82f123 to your computer and use it in GitHub Desktop.
Save bhenderson/987090cad9b1895c3cafbbc99a82f123 to your computer and use it in GitHub Desktop.
Copy and paste this link in an Inbox tab. Prepend "javascript:" if that part didn't get copied.
Change EMAIL to your account if you want to work with multiple accounts. Can be removed to use the default one.
<a href='javascript:navigator.registerProtocolHandler("mailto","https://inbox.google.com/?authuser=EMAIL&mailto=%s","Inbox by Google")'>Mail to</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment