Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Email Automation

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

  1. If
  2. OpenAI Chat Model
  3. Default Data Loader
  4. Recursive Character Text Splitter
  5. No Operation, do nothing
  6. Edit Fields
  7. Combine Subject and Body
  8. Summarization Mails
  9. Send Digested mail
  10. Get mails (last 24h)
  11. Schedule Trigger

Similar automations