This project creates an AI-powered newsletter assistant that automatically fetches, summarizes, and sends email digests using Composio and Groq.
- Automatically fetches newsletter emails from your inbox
- Summarizes newsletter content
- Enriches summaries with contextual information using Tavily
- Sends well-formatted digest emails
Before running this project, you'll need:
- A Groq API key from console.groq.com/keys
- A Tavily API key from app.tavily.com
- Composio integrations set up for Gmail and Tavily
- Clone this repository
- Install dependencies:
pip install -r requirements.txt
- Run the setup script to add all required integrations:
python setup.py
- Copy
.env.example
to.env
and fill in your API keys and target email
Run the script: