Gmail Spam Updates and Ads Cleanup Button

By witki · 2 months ago · 10+ installs

This Gmail tweek adds a cleanup button for Spam, Updates, and Promotions. It finds conversations that are unread or older than one week and moves them to Trash after confirmation.

Key Highlights

  • Adds a Gmail button for cleaning Spam, Updates, and Promotions.
  • Targets conversations that are unread or older than one week.
  • Moves matching conversations to Trash instead of permanently deleting them.
  • Uses Gmail’s select-all-matching-conversations option when available.
  • Shows confirmation and progress messages during cleanup.

Details

Gmail Spam Updates and Ads Cleanup Button adds a visible Gmail button for clearing out Spam, Updates, and Promotions. When run, it searches each category for conversations that are unread or older than seven days, selects the matching results, and moves them to Trash.

Before starting, the tweek asks for confirmation and then reports progress as each category is processed. If Gmail offers a link to select all matching conversations beyond the visible page, the tweek uses it before deleting, helping clear larger result sets in fewer steps.

Runs on

1 site

mail.google.com

Developer

Tweek Code

239 lines ·