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.

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

Technical Deep Dive
Architecture
Bash script using gog CLI for Gmail API. Regex patterns filter known newsletter senders.
Tech Stack
Challenges & Solutions
Identifying newsletters accurately
Comprehensive pattern list for domains, prefixes, and content markers
Clean terminal presentation
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