Gmail Single Email View

Shows one email at a time in Gmail inbox, with enhanced email detection and accurate counter for empty inbox.

作者
Marshall Hughes
今日安裝
0
安裝總數
0
評價
0 0 0
版本
2.0 // Incremented version to signify major bug fix for counter
建立日期
2025-06-19
更新日期
2025-06-19
尺寸
17.2 KB
授權條款
未知
腳本執行於

This script is a Gmail Single Email View UserScript.

Its primary purpose is to transform the default Gmail inbox view, which typically displays multiple emails, into a single-email view, showing only one email at a time to reduce visual clutter and overwhelm.

I needed this because sometimes looking at 30 emails that need to be actioned would prevent me from working on any of the emails!

Key features and functionality include:

One Email at a Time: It hides all but the current email in the inbox.
Navigation Controls: It adds "Previous" and "Next" buttons at the bottom of the screen to allow users to easily cycle through their emails one by one.
Dynamic Adaptation: It uses a MutationObserver to detect changes in Gmail's interface (like new emails arriving, emails being archived/deleted, or page navigation), ensuring the single-email view and navigation remain functional and up-to-date.
Accurate Counter: It includes a counter that displays the current email's position and the total number of emails in the filtered list (e.g., "1 / 13").
Empty Inbox Handling: It correctly identifies when the inbox is empty and adjusts the display and counter accordingly ("No Emails Found").
UI Preservation: It's designed to keep essential Gmail UI elements (like the left-hand navigation menus, top toolbar, and pagination) visible, allowing users to exit the single-email view and navigate to other parts of Gmail.