Email Automation
Daily Morning Email Summary with OpenRouter and Gmail
Every morning at 8 AM, this fetches the past 24 hours of Gmail messages, has an OpenRouter model summarize them and emails the digest.
What it does
# 📧 Email Auto-Summary Flow (n8n) Purpose: Daily digest of isb.quantana@quantana.in emails Runs: 8AM IST (7AM UTC) weekdays ## 🔄 Workflow 1. ⏰ Trigger: Scheduled daily run 2. 📥 Input: Fetch last 24h emails via Gmail API 3. 🤖 Process: - Filter non-essential emails - Extract key metadata (sender, subject, body) 4. ✍️ AI Summary: - Langchain analyzes content - Identifies: Updates/Issues/Actions 5. 📤 Output: Formatted email to team via Gmail API ## 🔑 APIs Needed: - Gmail API (OAuth2) - OpenRouter API (LLM access) - (Optional) Slack API for alerts ## ⚙️ Config: - OPENROUTER_KEY for AI - GMAIL_CREDS for email access - Recipient list in flow vars 💡 Processes ~50 emails/day | Error alerts via email
The steps
- Fetch Emails - Past 24 Hours
- Organize Email Data - Morning
- Send Summary - Morning
- Daily 8AM Trigger
- OpenRouter Chat Model
- Simple Memory
- Email Summarizer
Similar automations
Email AutomationSend a daily AI morning briefing with Google Calendar, Gmail, and OpenAI9 stepsEmail AutomationEmail a Daily Summary of Your Gmail with OpenAI7 stepsEmail AutomationEmail a Daily Summary of Your Gmail with OpenAI7 stepsEmail AutomationCompose a Morning Briefing Email with Claude RAG11 steps