Trendingat

02Home & Garden · Updated

Default Browser Email Links: How They Work

Short answer

Your operating system picks which app handles mailto links

When you click an email link, your OS uses its registered default mail app. You can change that default in system settings.

Reading time5 min11 sections, about 1,080 words

Email links are HTML anchors that use the mailto: scheme. When you click one, your browser hands the URL to the operating system, which then launches the registered handler for that scheme. The handler is usually a desktop email client like Microsoft Outlook, Apple Mail, or Mozilla Thunderbird, but it can be a webmail service if configured that way. The mailto link can also include a subject line, body text, and multiple recipients, all encoded in the URL.

How the Default Email Client Is Chosen

Every operating system keeps a list of protocol handlers. For mailto:, the default is set either during installation of an email app or manually by the user. When you install a new email program, it often asks if you want to make it the default. If you click yes, the OS updates its registry or settings. If you don’t, the old default stays. The browser itself doesn’t choose the handler; it just asks the OS to open the link.

Changing the Default on Windows

In Windows 10 and 11, you can change the default email app in Settings. Go to Settings > Apps > Default apps. Scroll down to Email and click the current app, then pick a new one from the list. You can also search for a specific app and set it as the default for mailto links from there. Note that some apps, like Outlook, may register themselves as the default during installation, so you might need to repeat this after installing a new client.

Changing the Default on macOS

On a Mac, open the Mail app, then go to Mail > Settings > General. The first option is Default email reader. Choose your preferred app from the dropdown. If you use a third-party client, it may have its own setting to register itself. macOS also respects the default email reader for mailto links in Safari and other browsers.

Changing the Default on iOS and Android

On iPhone and iPad, go to Settings > Mail > Default Mail App (iOS 14 and later). You’ll see a list of installed mail apps that support being the default. On Android, the process varies by manufacturer. Typically, go to Settings > Apps > Default apps and tap Opening links or Email. You can also open a mailto link and choose “Always” when prompted. Note that on Android, some email apps may not appear unless they’ve declared support for the mailto scheme.

Why Your Browser Might Open a Webmail Instead

Sometimes clicking an email link opens Gmail or Outlook on the web instead of a desktop app. This happens when the browser has its own mailto handler configured. For example, in Chrome, you can set a custom handler for mailto links. Go to Settings > Privacy and security > Site settings > Additional permissions > Protocol handlers. There you can choose which site handles mailto. If you’ve allowed Gmail as a handler, it will open in the browser. To revert to the system default, remove the custom handler or select “Let the system handle it.”

Common Problems and Misconceptions

One common issue is that clicking an email link does nothing at all. This usually means no mail app is set as the default, or the mailto handler is broken. On Windows, you can fix this by setting a default email app in Settings. On macOS, re-select your mail app in Mail’s preferences. Another misconception is that the browser controls the default email client. In reality, the OS does, but browsers can override it with their own handlers. Also, some websites use JavaScript to open a contact form instead of a mailto link, so the default app never comes into play.

How to Choose the Right Default

Your choice depends on how you work. If you live in a desktop client, set that as the default. If you prefer webmail, you can either set a browser handler or use a dedicated webmail app that registers itself. Consider these factors:

  • Frequency: If you click many email links, a fast-loading client matters.
  • Integration: Some clients integrate with calendar and tasks.
  • Privacy: Webmail may track your activity; a desktop client might not.
  • Platform: Your default is per device, so you may have different ones on phone and computer.

Security and Safety

Mailto links are generally safe, but they can be used in phishing attacks. A link might open your email client with a pre-filled address that looks legitimate but isn’t. Always check the recipient address before sending. Also, be cautious if a mailto link contains a long subject or body with suspicious content. The link itself doesn’t execute code, but it can trigger your email client to send a message, so verify the destination. If you’re unsure about a link, hover over it to see the address before clicking.

Frequently Asked Questions

Why does clicking an email link open a blank email?

That’s normal. A mailto link without a subject or body opens a new message window with just the recipient filled in. The empty fields are for you to complete.

Can I set a different default for each browser?

Yes. Each browser can have its own mailto handler. For example, you can set Chrome to use Gmail while Firefox uses your desktop client. You configure this in each browser’s settings.

How do I stop the browser from opening Gmail when I click an email link?

In your browser’s settings, find the protocol handler section and remove Gmail as a handler, or choose “Let the system handle it.” Then your OS default will take over.

What if I don’t have any email app installed?

Then clicking a mailto link may do nothing or prompt you to choose an app. Install an email client or set a webmail service as a handler to make the link work.

Does changing the default in Windows affect my phone?

No. Defaults are per device. Changing the default on your PC won’t affect your phone or tablet. You must set the default on each device.

Further reading: Microsoft Support. Details can change, so check the official page for anything that matters to you. Spotted a mistake? Tell us. How we write an answer.