<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>LinkRouter guides · Snugbits blog</title>
    <link>https://snugbits.com/blog/linkrouter</link>
    <atom:link href="https://snugbits.com/blog/linkrouter/rss.xml" rel="self" type="application/rss+xml" />
    <description>Pick the browser and profile for every link</description>
    <language>en</language>
    <image><url>https://snugbits.com/icon.png</url><title>LinkRouter guides · Snugbits blog</title><link>https://snugbits.com/blog/linkrouter</link></image>
    <lastBuildDate>Mon, 09 Nov 2026 09:00:00 GMT</lastBuildDate>
    <item>
      <title>How to Make Email Links Open Gmail Instead of Apple Mail on Mac</title>
      <link>https://snugbits.com/blog/linkrouter/open-mailto-links-in-gmail-mac</link>
      <guid isPermaLink="true">https://snugbits.com/blog/linkrouter/open-mailto-links-in-gmail-mac</guid>
      <pubDate>Mon, 09 Nov 2026 09:00:00 GMT</pubDate>
      <description>Gmail is a website, so macOS can't pick it as your email app. Route email links through Chrome with Gmail as its handler, or use an app that opens Gmail.</description>
      <category>LinkRouter</category>
      <dc:creator>Ahmed Gagan</dc:creator>
      <content:encoded><![CDATA[<p>On a Mac, email links (<code>mailto:</code> links) open in whatever app is set as the default email reader, and that is Apple Mail
unless you change it. Gmail is a website, not an app, so you can&#39;t pick it directly. The usual workaround is to let
Gmail handle email links inside Chrome, then set Chrome as the default email reader in Mail&#39;s settings. An app made for
this can also open Gmail compose for you, as the account you choose.</p>
<p>Here is how each way works and where it falls short.</p>
<h2 id="why-email-links-open-apple-mail"><a class="anchor" href="#why-email-links-open-apple-mail" aria-hidden="true" tabindex="-1">#</a>Why email links open Apple Mail</h2>
<p>When you click an email address on a web page or in an app, macOS looks up which app handles <code>mailto:</code> links and gives
the link to it. Out of the box that&#39;s Mail, so Mail opens and asks you to set up an account, even if you never use it.</p>
<p>There is no Gmail entry in that list, because Gmail lives in your browser. So the job has two halves: get the link to
your browser, then get the browser to hand it to Gmail.</p>
<h2 id="way-1-let-gmail-handle-email-links-in-chrome"><a class="anchor" href="#way-1-let-gmail-handle-email-links-in-chrome" aria-hidden="true" tabindex="-1">#</a>Way 1: Let Gmail handle email links in Chrome</h2>
<p>Chrome lets a website register itself as the handler for a kind of link. Gmail does this for email links.</p>
<ol>
<li>Open <a href="https://mail.google.com" rel="noopener" target="_blank">Gmail</a> in Chrome and sign in.</li>
<li>Look at the right end of the address bar for the handler icon, which looks like two overlapping diamonds.</li>
<li>Click it, choose to allow Gmail to open email links, and click <strong>Done</strong>.</li>
</ol>
<p>If you don&#39;t see the icon, open Chrome&#39;s <strong>Settings &gt; Privacy and security &gt; Site settings &gt; Protocol handlers</strong> (you
can also type <code>chrome://settings/handlers</code> in the address bar) and make sure sites are allowed to ask. Google lists
this permission on its page about
<a href="https://support.google.com/chrome/answer/114662?co=GENIE.Platform%3DDesktop&hl=en" rel="noopener" target="_blank">site settings in Chrome</a>.</p>
<p><strong>What it can&#39;t do:</strong> this only covers email links you click on web pages inside Chrome. Links in other apps still go
to Mail. The setting also belongs to one Chrome profile, so each profile that should use Gmail needs it set separately.</p>
<h2 id="way-2-make-chrome-the-default-email-reader"><a class="anchor" href="#way-2-make-chrome-the-default-email-reader" aria-hidden="true" tabindex="-1">#</a>Way 2: Make Chrome the default email reader</h2>
<p>To catch email links from other apps too, tell macOS to send them to Chrome. Oddly, the setting lives in the Mail app,
not in System Settings. Apple&#39;s steps, from
<a href="https://support.apple.com/en-us/102362" rel="noopener" target="_blank">Change the default web browser or email app on Mac</a>:</p>
<ol>
<li>Open the Mail app. It must be set up with an email account first. If it isn&#39;t, Mail won&#39;t let you change this
setting, so add any account; Apple notes you can remove or turn it off again afterwards.</li>
<li>In the menu bar, choose <strong>Mail &gt; Settings</strong>.</li>
<li>Click <strong>General</strong>.</li>
<li>Open the <strong>Default email reader</strong> pop-up menu and choose Google Chrome. If it isn&#39;t listed, choose <strong>Select</strong> and
pick Chrome in the file dialog.</li>
</ol>
<p><strong>What it can&#39;t do:</strong> Apple warns that a browser chosen here might not open webmail automatically when you click email
links. You also don&#39;t get to choose where the link goes. If you have more than one Chrome profile, or more than one
Google account, the email opens wherever Chrome decides, which may not be the address you meant to write from. And
setting it up means adding an account to Mail, an app you are trying not to use.</p>
<h2 id="what-about-safari"><a class="anchor" href="#what-about-safari" aria-hidden="true" tabindex="-1">#</a>What about Safari?</h2>
<p>Safari has no setting for letting a website like Gmail handle email links. If Safari is your browser, the Mail setting
above can still point email links at another app, but there is no built-in way to send them to Gmail in Safari.</p>
<h2 id="the-faster-way-linkrouter"><a class="anchor" href="#the-faster-way-linkrouter" aria-hidden="true" tabindex="-1">#</a>The faster way: LinkRouter</h2>
<p><a href="/linkrouter">LinkRouter</a> is a small Mac app we make for exactly this. It becomes the app that handles email links,
without going through Mail&#39;s settings and without needing a Mail account: open LinkRouter&#39;s settings and click
<strong>Use LinkRouter for Email Links</strong>.</p>
<p>From then on, clicking an email link shows a small picker at your mouse:</p>
<ul>
<li><strong>Every Google account, from every Chrome profile.</strong> LinkRouter reads which accounts are signed in to each profile,
including Google Workspace accounts and profiles with more than one account signed in.</li>
<li><strong>Pick one with a number key</strong> and Gmail compose opens in the Chrome profile that owns that account, with the To, Cc,
Bcc, subject and body from the link already filled in.</li>
<li><strong>It won&#39;t send from the wrong address.</strong> If the account you picked is no longer signed in to that profile, Gmail
would quietly write from another account, so LinkRouter asks you again instead of opening it.</li>
<li><strong>Rules by recipient.</strong> Hold ⌘ while you pick, or add a rule in settings, so that mail to <code>@northwind.co</code> always
composes from your work account.</li>
<li><strong>Mail apps stay available.</strong> Apple Mail and other mail apps are in the picker too, and ⌘C just copies the address.</li>
</ul>
<p>It costs $5 for 1 Mac, $10 for 3 Macs or $15 for 5 Macs, paid once. The same picker also handles web links; see
<a href="/blog/linkrouter/open-links-in-specific-chrome-profile-mac">how to open links in a specific Chrome profile on Mac</a>.</p>
<h2 id="faq"><a class="anchor" href="#faq" aria-hidden="true" tabindex="-1">#</a>FAQ</h2>
<h3 id="can-i-set-gmail-as-the-default-email-app-on-mac"><a class="anchor" href="#can-i-set-gmail-as-the-default-email-app-on-mac" aria-hidden="true" tabindex="-1">#</a>Can I set Gmail as the default email app on Mac?</h3>
<p>Not directly, because Gmail is a website. You can set Chrome as the default email reader in Mail&#39;s settings and let
Gmail handle email links in Chrome, or use an app such as LinkRouter that opens Gmail compose for you.</p>
<h3 id="why-is-default-email-reader-greyed-out-or-missing-in-mail"><a class="anchor" href="#why-is-default-email-reader-greyed-out-or-missing-in-mail" aria-hidden="true" tabindex="-1">#</a>Why is &quot;Default email reader&quot; greyed out or missing in Mail?</h3>
<p>Mail only lets you change it once Mail is set up with an email account. Add any account, change the setting, then
remove or turn off the account if you don&#39;t want it in Mail.</p>
<h3 id="why-do-email-links-open-gmail-with-the-wrong-account"><a class="anchor" href="#why-do-email-links-open-gmail-with-the-wrong-account" aria-hidden="true" tabindex="-1">#</a>Why do email links open Gmail with the wrong account?</h3>
<p>Gmail composes from an account signed in to the Chrome profile the link landed in. If the link opened in the wrong
profile, or that profile has several accounts, you get whichever one Gmail picks. LinkRouter avoids this by opening
compose in the profile that owns the account you chose.</p>
<h3 id="do-i-need-apple-mail-set-up-to-use-linkrouter-for-email-links"><a class="anchor" href="#do-i-need-apple-mail-set-up-to-use-linkrouter-for-email-links" aria-hidden="true" tabindex="-1">#</a>Do I need Apple Mail set up to use LinkRouter for email links?</h3>
<p>No. LinkRouter makes itself the handler for email links directly, so Mail doesn&#39;t need an account.</p>
<h3 id="does-this-work-with-google-workspace-accounts"><a class="anchor" href="#does-this-work-with-google-workspace-accounts" aria-hidden="true" tabindex="-1">#</a>Does this work with Google Workspace accounts?</h3>
<p>Yes. Workspace accounts have a Gmail inbox, and LinkRouter lists them next to personal Gmail accounts in the picker.</p>
]]></content:encoded>
    </item>
    <item>
      <title>How to Open Links in a Specific Chrome Profile on Mac</title>
      <link>https://snugbits.com/blog/linkrouter/open-links-in-specific-chrome-profile-mac</link>
      <guid isPermaLink="true">https://snugbits.com/blog/linkrouter/open-links-in-specific-chrome-profile-mac</guid>
      <pubDate>Mon, 09 Nov 2026 09:00:00 GMT</pubDate>
      <description>Chrome on Mac opens links from other apps in the profile you used last. Here is how to pick the profile yourself, from Terminal to a one-key picker.</description>
      <category>LinkRouter</category>
      <dc:creator>Ahmed Gagan</dc:creator>
      <content:encoded><![CDATA[<p>When you click a link in Slack, Mail or Notes, Chrome on Mac opens it in the profile you used last, and there is no
setting to change that. To choose the profile yourself, you can drag the link into a window of the right profile, open
it from Terminal with Chrome&#39;s <code>--profile-directory</code> switch, or use a link picker app that asks you each time.</p>
<p>Below are the manual ways first, with what each one can and can&#39;t do.</p>
<h2 id="why-chrome-picks-the-profile-it-does"><a class="anchor" href="#why-chrome-picks-the-profile-it-does" aria-hidden="true" tabindex="-1">#</a>Why Chrome picks the profile it does</h2>
<p>Every Chrome profile is a folder in <code>~/Library/Application Support/Google/Chrome</code>. The first one is called <code>Default</code>
and the rest are <code>Profile 1</code>, <code>Profile 2</code> and so on. The names you see in Chrome, like &quot;Work&quot; or &quot;Personal&quot;, are only
labels stored in a file called <code>Local State</code> next to those folders.</p>
<p>When another app hands Chrome a link, macOS doesn&#39;t say anything about profiles. It just gives Chrome the address, and
Chrome sends it to the profile you were last using. If you switched to your personal profile to check something five
minutes ago, the next work link from Slack lands there too.</p>
<h2 id="way-1-drag-or-paste-the-link-into-the-right-window"><a class="anchor" href="#way-1-drag-or-paste-the-link-into-the-right-window" aria-hidden="true" tabindex="-1">#</a>Way 1: Drag or paste the link into the right window</h2>
<p>The simplest fix needs no setup.</p>
<ol>
<li>Bring up a Chrome window that belongs to the profile you want. Each window shows its profile picture or name at the
top right of the toolbar.</li>
<li>Drag the link from the other app onto that window&#39;s tab bar, or right-click the link, copy it, and paste it into a
new tab in that window.</li>
</ol>
<p><strong>What it can&#39;t do:</strong> it is manual every time, and you need a window of that profile open already. A normal click still
goes to the last-used profile.</p>
<h2 id="way-2-open-the-link-from-terminal"><a class="anchor" href="#way-2-open-the-link-from-terminal" aria-hidden="true" tabindex="-1">#</a>Way 2: Open the link from Terminal</h2>
<p>Chrome has a command-line switch, <code>--profile-directory</code>, that names the profile folder to open a link in. On a Mac you
pass it through the <code>open</code> command.</p>
<h3 id="step-1-find-the-profiles-folder-name"><a class="anchor" href="#step-1-find-the-profiles-folder-name" aria-hidden="true" tabindex="-1">#</a>Step 1: Find the profile&#39;s folder name</h3>
<p>The folder name is not the name you gave the profile, so look it up first.</p>
<ol>
<li>Open Chrome in the profile you want.</li>
<li>Type <code>chrome://version</code> in the address bar and press Return.</li>
<li>Find the line called <strong>Profile Path</strong>. The last part of that path is the folder name, for example <code>Profile 3</code>.</li>
</ol>
<p>If you have several profiles, you can list every folder next to its display name in one go. This reads Chrome&#39;s
<code>Local State</code> file and changes nothing:</p>
<pre><code class="language-sh">python3 -c &#39;import json,os; c=json.load(open(os.path.expanduser(&quot;~/Library/Application Support/Google/Chrome/Local State&quot;)))[&quot;profile&quot;][&quot;info_cache&quot;]; [print(d, &quot;=&quot;, v[&quot;name&quot;]) for d,v in c.items()]&#39;
</code></pre>
<p>Each line looks like <code>Profile 3 = Work</code>. If your Mac has never used <code>python3</code>, macOS offers to install the Command Line
Tools first. Don&#39;t be surprised by gaps in the numbers: when you delete a profile, its number isn&#39;t reused.</p>
<h3 id="step-2-open-the-link-in-that-profile"><a class="anchor" href="#step-2-open-the-link-in-that-profile" aria-hidden="true" tabindex="-1">#</a>Step 2: Open the link in that profile</h3>
<pre><code class="language-sh">open -na &quot;Google Chrome&quot; --args --profile-directory=&quot;Profile 3&quot; &quot;https://example.com&quot;
</code></pre>
<p>What each part does:</p>
<ul>
<li><code>-n</code> starts a new copy of Chrome even if Chrome is already running. That short-lived copy passes the link to your
running Chrome and quits, so you don&#39;t end up with two Chromes.</li>
<li><code>-a &quot;Google Chrome&quot;</code> picks the app.</li>
<li><code>--args</code> hands everything after it to Chrome itself.</li>
<li><code>--profile-directory=&quot;Profile 3&quot;</code> is the folder from step 1. Keep the quotes, because the name has a space.</li>
<li>The link goes last.</li>
</ul>
<p>Two things to watch for, both of which we ran into while testing:</p>
<ul>
<li><strong>A typo creates a new profile.</strong> If the folder you name doesn&#39;t exist, Chrome doesn&#39;t complain. It quietly makes a
brand-new, empty profile and opens the link there. Copy the folder name exactly.</li>
<li><strong>Don&#39;t put <code>--</code> before the link.</strong> Some command-line habits add <code>--</code> to mean &quot;end of options&quot;. Chrome drops anything
that comes after it, so the link never opens.</li>
</ul>
<p>To save typing, add a small function to your <code>~/.zshrc</code>:</p>
<pre><code class="language-sh">work() { open -na &quot;Google Chrome&quot; --args --profile-directory=&quot;Profile 3&quot; &quot;$@&quot;; }
</code></pre>
<p>Open a new Terminal window and <code>work https://example.com</code> opens the link in that profile.</p>
<p><strong>What it can&#39;t do:</strong> it only works for links you paste into Terminal. Clicking a link in Slack or Mail still sends it
to the last-used profile, because macOS gives links to the default browser, not to your shell.</p>
<h2 id="brave-edge-and-other-chromium-browsers"><a class="anchor" href="#brave-edge-and-other-chromium-browsers" aria-hidden="true" tabindex="-1">#</a>Brave, Edge and other Chromium browsers</h2>
<p>Brave, Microsoft Edge and Vivaldi are built on Chromium and use the same <code>--profile-directory</code> switch. Only the app name
and the folder change. For Brave, the profiles live in <code>~/Library/Application Support/BraveSoftware/Brave-Browser</code>, so
the command becomes:</p>
<pre><code class="language-sh">open -na &quot;Brave Browser&quot; --args --profile-directory=&quot;Profile 1&quot; &quot;https://example.com&quot;
</code></pre>
<h2 id="the-faster-way-linkrouter"><a class="anchor" href="#the-faster-way-linkrouter" aria-hidden="true" tabindex="-1">#</a>The faster way: LinkRouter</h2>
<p><a href="/linkrouter">LinkRouter</a> is a small Mac app we make that does the profile choice for every link you click, not only
the ones you type. You make it your default browser once, and from then on any link from any app shows a tiny picker
right at your mouse with every browser and every Chrome profile on your Mac, each with its picture and name.</p>
<ul>
<li><strong>Press a number key</strong> to open the link in that row, or type a few letters to filter. Esc closes the picker.</li>
<li><strong>Hold ⇧ while you pick</strong> to open it in a private window.</li>
<li><strong>Hold ⌘ while you pick</strong> and LinkRouter saves a rule, so that site always opens in that profile without asking.
Rules can also go by app, so links from Slack can always open in your work profile.</li>
<li><strong>Hold ⌥ while clicking a link</strong> to get the picker back for a site that already has a rule.</li>
<li><strong>Opened it in the wrong place anyway?</strong> Press ⌃⌥B to bounce the tab to another profile.</li>
</ul>
<p>LinkRouter reads your profiles from Chrome&#39;s own files each time they change and only ever opens a profile folder that
still exists, so a deleted profile never turns into a surprise empty one. It lists profiles for Chrome, Brave, Edge,
Vivaldi and Firefox-family browsers like Zen, and it also cleans tracking junk out of links before they open. It runs
entirely on your Mac.</p>
<p>It costs $5 for 1 Mac, $10 for 3 Macs or $15 for 5 Macs, paid once. It can also open email links in Gmail as the right
account, which we cover in
<a href="/blog/linkrouter/open-mailto-links-in-gmail-mac">how to make email links open Gmail instead of Apple Mail</a>.</p>
<h2 id="faq"><a class="anchor" href="#faq" aria-hidden="true" tabindex="-1">#</a>FAQ</h2>
<h3 id="can-i-set-a-default-chrome-profile-for-links-on-mac"><a class="anchor" href="#can-i-set-a-default-chrome-profile-for-links-on-mac" aria-hidden="true" tabindex="-1">#</a>Can I set a default Chrome profile for links on Mac?</h3>
<p>Not in Chrome itself. Links from other apps go to the profile you used last. To always use one profile, open it in
that profile from Terminal with <code>--profile-directory</code>, or use an app like LinkRouter with a rule.</p>
<h3 id="how-do-i-find-my-chrome-profile-directory-name"><a class="anchor" href="#how-do-i-find-my-chrome-profile-directory-name" aria-hidden="true" tabindex="-1">#</a>How do I find my Chrome profile directory name?</h3>
<p>Open Chrome in that profile, go to <code>chrome://version</code>, and look at <strong>Profile Path</strong>. The last part of the path, such
as <code>Default</code> or <code>Profile 2</code>, is the directory name.</p>
<h3 id="why-did-chrome-create-a-new-profile-when-i-used-profile-directory"><a class="anchor" href="#why-did-chrome-create-a-new-profile-when-i-used-profile-directory" aria-hidden="true" tabindex="-1">#</a>Why did Chrome create a new profile when I used --profile-directory?</h3>
<p>The folder name didn&#39;t match an existing profile. Chrome treats an unknown name as a request for a new profile and
creates it silently. Check the exact name, including capitals and the space in <code>Profile 2</code>.</p>
<h3 id="does-profile-directory-work-if-chrome-is-already-open"><a class="anchor" href="#does-profile-directory-work-if-chrome-is-already-open" aria-hidden="true" tabindex="-1">#</a>Does --profile-directory work if Chrome is already open?</h3>
<p>Yes. With <code>open -n</code>, a second copy of Chrome starts, hands the link to the Chrome that&#39;s already running, and quits.
The link opens in the profile you named.</p>
<h3 id="does-this-work-for-safari-profiles"><a class="anchor" href="#does-this-work-for-safari-profiles" aria-hidden="true" tabindex="-1">#</a>Does this work for Safari profiles?</h3>
<p>No. The <code>--profile-directory</code> switch is a Chromium feature. Safari doesn&#39;t take a profile on the command line.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
