Skip to content

About

Greasemonky userscript to fix missing "Emails" search in Gmail

Resources

Stars

12 stars

Watchers

1 watching

Forks

Repository files navigation

Fix Gmail Email Quick Search Userscript

Release GitHub stars License Vanilla JS No Dependencies

This userscript restores — and improves — Gmail’s missing “Emails” search feature.

In the past, Gmail let you hover over a contact’s name, wait for the hover card, and click “Emails” to see every message you’d exchanged. That option is gone — but this script brings it back, faster and better.

With this script installed, a search icon appears next to every contact’s name or email address. Click the icon to instantly search for all emails to or from that contact — no waiting, no copy/paste, no menus.

The icons appear:

  • Next to all clickable email addresses in message threads
  • Inside Gmail hovercards when you hover over a contact’s name

Screenshot of new search icon

Installation

Step 1: Install a Userscript Manager

First, install a userscript manager extension for your browser:

Step 2: Install the Script

Click this link to install:

Click link to install Fix Gmail Email Search userscript

Your userscript manager will prompt you to install it. Click "Install" to confirm.

Step 3: Done

Visit Gmail and you'll see search icons next to email addresses. Click any icon to instantly search for all emails with that contact.

The script will automatically update when new versions are released.

What's New

v1.5.1 (Latest)

  • Fixed Google Workspace account support (e.g., /mail/u/1/ URLs)
  • Contact hovercards now work on all account types

v1.5.0

  • Removed jQuery dependency - now pure vanilla JavaScript
  • No longer requires separate TrustedHTML bypass script
  • Uses native DOM methods for better compatibility
  • Smaller file size and faster loading

Please report any issues with the script here: https://github.com/gserafini/fix-gmail-email-search-userscript/issues

Thank You Link - Donate (any amount is appreciated, thank you for supporting Open Source!)

Thanks, and happy searching!

Gabriel

About

Greasemonky userscript to fix missing "Emails" search in Gmail

Resources

Stars

12 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages