diff --git a/src/main/windows/html_email.ts b/src/main/windows/html_email.ts
index 1408ad117e..c94fdf8c33 100644
--- a/src/main/windows/html_email.ts
+++ b/src/main/windows/html_email.ts
@@ -395,11 +395,7 @@ function makeBrowserView(
if (url.startsWith('mailto:')) {
open_url(url)
} else {
- if (
- url.startsWith('http:') ||
- url.startsWith('https:') ||
- url.startsWith('mailto:')
- ) {
+ if (url.startsWith('http:') || url.startsWith('https:')) {
shell.openExternal(url)
} else {
dialog