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.