Send a daily RSS news digest email with Gmail
Go to WorkflowDescription
Quick overview
Automatically combine any number of RSS feeds into one daily HTML email digest with deduplication and a configurable time window.
How it works
Runs daily on a cron schedule (default 8:00 AM).
Generates a list of RSS feed URLs and digest settings (recipient email, lookback window, and max article count).
Fetches the latest items from each RSS feed URL.
De-duplicates articles, keeps only items published within the configured lookback window, sorts by publish date, and limits the list to the maximum article count.
Stops if no articles remain after filtering to avoid sending an empty email.
Builds an HTML email with the selected articles and sends it to the configured recipient using Gmail.
Setup
Add a Gmail OAuth2 credential and select it in the Gmail email-sending step.
Update the recipient email address and RSS feed URLs in the configuration code, and optionally adjust HOURS_BACK and MAX_ARTICLES.
Confirm or change the schedule cron expression to match your preferred send time, then activate the workflow.
Requirements
n8n Cloud or self-hosted n8n instance
Gmail account with OAuth2 credentials configured in n8n
Customization
Add or remove RSS feed URLs in the Configure Feed Settings node
Change HOURS_BACK and MAX_ARTICLES in the same node
Adjust the daily schedule in the When 8AM Daily trigger
Replace example feeds with your own blogs or news sources
Additional info
If one RSS feed fails, the workflow continues with the remaining feeds. No email is sent when there are no new articles within the configured lookback window.