This workflow contains community nodes that are only compatible with the self-hosted version of n8n.
Transform email overload into actionable insights with this automated daily digest workflow that intelligently summarizes categorized emails using AI.
This workflow is perfect for busy professionals, content creators, and newsletter subscribers who need to stay informed without spending hours reading through multiple emails. Whether you're tracking industry news, monitoring competitor updates, or managing content subscriptions, this automation helps you extract key insights efficiently.
The workflow runs automatically each morning at 9 AM, fetching emails from a specific Gmail label received in the last 24 hours. Each email is processed through OpenAI's language model using LangChain to create concise, readable summaries that preserve important links and formatting. All summaries are then combined into a single, well-formatted digest email and sent to your inbox, replacing dozens of individual emails with one comprehensive overview.
Change summarization style: Modify the prompt in the "Summarization Mails" node to adjust tone, length, or format of summaries. You can make summaries more technical, casual, or focus on specific aspects like action items.
Adjust time range: Change the receivedAfter
parameter in the Gmail node to fetch emails from different time periods (last 2 days, last week, etc.).
Multiple labels: Duplicate the Gmail retrieval section to process multiple labels and combine them into categories within your digest.
Add filtering: Insert additional conditions to filter emails by sender, subject keywords, or other criteria before summarization.
Custom formatting: Modify the "Combine Subject and Body" code node to change the HTML structure, add styling, or include additional metadata like email timestamps or priority indicators.