Steps
Download the agent
Get the AI news digest agent. Good AI feeds are built in, and you can replace them with
FEEDS.Preview it
python3 ai_news_digest.py --dry-runprints today's digest without sending anything.Connect your email
For Gmail, turn on 2-step verification, create an app password, then set
SMTP_HOST=smtp.gmail.com,SMTP_PORT=587, your address and the app password.Optional: add AI summaries
Set
OPENAI_API_KEY. Any OpenAI-compatible API works, including Groq, OpenRouter and a local Ollama server viaOPENAI_BASE_URL. This costs a few cents a month or nothing locally.Schedule for 07:00
0 7 * * *in cron, or the Schedule node in n8n.
Why build your own instead of subscribing?
Newsletters pick the stories for you. Your own digest uses your feeds and keywords and arrives when you want it, with no ads.
Skip the setup: free download
The AI news digest agent does all of this. It's tested, MIT-licensed, and comes as an n8n workflow plus a Python script.
Get the free AI news digest agent → Or have us build yours →
FAQ
Does it work without an AI key?
Yes. Without a key you get a clean list of headlines and links.
Can it go to Slack instead of email?
Yes. Point it at a Slack incoming webhook, or ask us to build that version.
Related guides
- Hacker News daily digest by email, filtered by your keywords (free script, tested)
- Get a daily AI summary of your unread email
- RSS to email daily digest: all your feeds in one morning email (free script, tested)
- Run a Python script automatically every day (Mac, Windows, Linux, GitHub Actions)
- How to build an AI agent without coding: a practical guide for 2026
New guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- Send RSS feeds to Slack with a keyword filter (free, incoming webhook)
- Forward emails to a Slack channel (Gmail, Outlook, any IMAP), free with an incoming webhook
- n8n Google Sheets Trigger not working: not firing, activation errors and fixes