An automated email reply system that uses AI to generate responses to incoming emails.
-
Clone the repository
git clone <repository-url> cd Ai-email
-
Set up environment variables
cp .env.example .env
Edit the
.env
file and add your actual values:PERPLEXITY_API_KEY
: Your Perplexity AI API keyEMAIL_HOST_USER
: Your Gmail addressEMAIL_HOST_PASSWORD
: Your Gmail app password (not your regular password)SECRET_KEY
: A Django secret key (generate one for production)
-
Install dependencies
pip install -r requirements.txt
-
Run the application
# Development server python manage.py runserver # Or with Docker docker-compose up
- Automated email monitoring and response
- AI-powered reply generation using Perplexity AI
- Celery-based background task processing
- Redis for message queuing
Email monitoring on rebexisaws@gmail.com to get AI generated replies.