An AI-powered email personalization tool for sales outreach that generates highly personalized emails based on prospect data, company research, and product usage metrics.
- AI-powered email personalization using OpenAI GPT-4
- Prospect and company data management
- Email template management
- Automated email sending with tracking
- Custom data integration support
- Modern FastAPI backend with React frontend
- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Create a
.env
file based on.env.example
and fill in your configuration:
- OpenAI API key
- SMTP settings
- Database configuration
- Security settings
- Start the backend server:
uvicorn app.main:app --reload
The backend API will be available at http://localhost:8000
- Navigate to the frontend directory:
cd frontend
- Install dependencies:
npm install
- Start the development server:
npm start
The frontend will be available at http://localhost:3000
GET /
: Welcome messageGET /health
: Health checkPOST /api/prospects/
: Create new prospectGET /api/prospects/{id}
: Get prospect detailsGET /api/prospects/
: List all prospects
The project structure follows modern practices with:
- FastAPI for the web framework
- SQLAlchemy for database operations
- Pydantic for data validation
- OpenAI for AI-powered personalization
- React for the frontend
- TypeScript for type safety
- API key authentication
- Rate limiting
- Input validation
- Secure email handling
- Environment variable protection
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
MIT License
from dotenv import load_dotenv load_dotenv()