Gmail AI Email Classification with Slack Alerts and DigestsGmail AI Email Classification with Slack Alerts and Digests
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
🚀 Built a Gmail AI-Tagging + Slack Alerts System — Because Important Emails Should Never Get Missed
The problem every B2B team faces:
❌ Client emails sit unanswered for days ❌ Bank or government emails get buried in the inbox ❌ Deadlines are missed because no one flags them ❌ No daily view of what's pending vs overdue
I built a system that fixes all of this:
🎯 WHAT IT DOES:
✅ Watches Gmail inbox every 5 minutes ✅ Uses AI to classify every email into 5 categories: • URGENT (deadlines, overdue, time-sensitive) • BANK_GOV (banks, .gov domains, tax authorities) • CLIENT_ACTION (awaiting response) • FOLLOW_UP (needs follow-up) • FYI (informational)
✅ Pushes real-time Slack alerts to the right channel: • #urgent — for time-sensitive items • #finance-legal — for bank/gov emails • Assignee DM — for client action items
✅ Sends a daily 8 AM digest with: • Overdue items • Awaiting client action • Pending tasks
✅ Auto-applies Gmail labels (AI/Urgent, AI/Bank-Gov, etc.) ✅ Hourly overdue scanner with automatic escalation
⚙️ TECH STACK: n8n | Gmail API | OpenAI GPT-4o-mini | Slack API | Google Sheets
📊 RESULT: → Zero missed urgent emails → 15+ minutes saved per team member per day → Complete audit trail in Google Sheets → Full visibility into what's stuck and where
Gmail stays the primary interface. Slack becomes the reminder layer that ensures nothing slips.
Want this deployed for your team? Let's talk.
#AIAutomation #GmailAutomation #SlackIntegration #n8n #B2BSaaS #Productivity #WorkflowAutomation
Kapil's avatar
For your hourly overdue scan, I'd include a thread whose latest reply says 'resolved' but still quotes the original overdue notice. Which message determines whether the item stays open and gets escalated?
rishav's avatar
Great question, Kapil — this is exactly the edge case that breaks most overdue systems.
In my current implementation, the logic is:
Gmail thread-level scan (not message-level)
Use the LATEST message in the thread as the source of truth
If latest message contains "resolved" /...
Sabin's avatar
Splitting BANK_GOV out on its own is smart. Those are the emails that hurt most when they get buried. When GPT-4o-mini tags one wrong, does the corrected label feed back into the prompt, or is it fixed by hand?
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started