Email Automation
Email a Daily Digest Summarized by OpenAI
Every day, the workflow collects Gmail messages, has OpenAI summarize them into one digest and sends the digest by email.
What it does
## Daily Email Digest with AI Summarization ### This n8n workflow automatically creates AI-powered summaries of labeled emails and sends them as a daily digest. Perfect for staying on top of newsletters, news feeds, or any categorized emails without information overload! ### How it works * Scheduled daily at 9 AM to check for new emails * Fetches labeled emails from the last 24 hours using Gmail * AI summarization using OpenAI to create concise summaries * Combines multiple emails into one formatted digest * Sends digest email with all summaries in HTML format ### How to set up * Create a Gmail label for emails you want summarized * Update the label ID in the 'Get mails' node * Configure OpenAI API credentials * Set your email address in the 'Send Digested mail' node * Adjust the schedule trigger time as needed ### Requirements * Gmail account with OAuth2 setup * OpenAI API account and credentials * Email label configured in Gmail ### Customization options * Change the summarization prompt for different output styles * Adjust the time range for email retrieval * Modify the digest email template * Add additional processing or filtering logic ### Who's it for * Content creators who follow multiple news sources * Professionals managing industry newsletters * Anyone wanting to reduce email overwhelm ### Need Help? Join the Discord or ask in the Forum! Happy Automating!
The steps
- If
- OpenAI Chat Model
- Default Data Loader
- Recursive Character Text Splitter
- No Operation, do nothing
- Edit Fields
- Combine Subject and Body
- Summarization Mails
- Send Digested mail
- Get mails (last 24h)
- Schedule Trigger
Similar automations
Email AutomationEmail a Daily n8n Template Digest with OpenAI and Outlook25 stepsRAG & Knowledge BasesCompose a Daily Email Digest with Claude RAG11 stepsLead Generation & EnrichmentSend a daily digest of unanswered Gmail leads ranked by urgency with OpenAI19 stepsEmail AutomationCreate a daily AI news digest from RSS with TypeSafe Jev, OpenAI, Telegram and Gmail19 steps