Back to all projects
Live

Email Digest CLI

Morning summary of what actually matters ๐Ÿ“ง

A CLI tool that fetches unread emails, filters out newsletters and marketing, and shows a clean summary of messages that need attention.

February 2026
1 night (nightly build)
Bash ยท gog CLI ยท Gmail API ยท CLI
Email Digest CLI

Email Overload

Inboxes are flooded with newsletters and marketing. Finding messages that need attention requires scanning through noise.

  • 1Important emails buried under newsletters
  • 2Morning inbox check takes too long
  • 3No quick way to see what matters
  • 4Wanted terminal-first workflow

Smart Email Filtering

Fetches unread emails from the last 24 hours and filters out noise. Shows a clean summary with sender, subject, and preview.

Smart Filtering

Pattern matching for newsletters, noreply, marketing

Clean Summary

Sender, subject, and preview for each email

Stats Overview

How many important vs filtered emails

JSON Output

Pipe to other tools for automation

Screenshots

Email Digest CLI output
Clean terminal summary of important emails

Technical Deep Dive

Architecture

Bash script using gog CLI for Gmail API. Regex patterns filter known newsletter senders.

Tech Stack

Bashgog CLIGmail APICLI

Challenges & Solutions

Challenge

Identifying newsletters accurately

Solution

Comprehensive pattern list for domains, prefixes, and content markers

Challenge

Clean terminal presentation

Solution

Unicode box drawing and careful spacing

Results & Impact

Start your day knowing exactly what needs attention.

Highlights

  • Filters out 80%+ of inbox noise
  • 5-second morning email check
  • Works great in automated morning routines

Lessons Learned

  • โ†’Most email is noise
  • โ†’Simple filters are surprisingly effective
  • โ†’Terminal output can be beautiful

Like what you see?

Check out more of Dave's projects and case studies.

View All Projects