workflows.fit
Back to n8n workflows
n8n templateFreeBy German Velibekov

Create AI-summarized email digests from Gmail labels with OpenAI O4-Mini

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 summa...

CommunicationHITLDevelopmentCore NodesAILangchainIfLm Chat Open Ai
Loading interactive preview...

Template notes

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.

Who's it for

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.

How it works

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.

How to set up

1. Create a Gmail label for emails you want summarized (e.g., "Tech News", "Industry Updates") 2. Configure credentials for both Gmail OAuth2 and OpenAI API in their respective nodes 3. Update the Gmail label ID in the "Get mails (last 24h)" node with your specific label 4. Set your email address in the "Send Digested mail" node 5. Adjust the schedule in the Schedule Trigger if you prefer a different time than 9 AM 6. Test the workflow with a few labeled emails to ensure proper formatting