A smart AI-powered tool that auto-generates cold emails from job postings and your resume using LLaMA 3.1 via Groq.
This project automates the process of writing personalized cold emails for job applications. It combines the power of Large Language Models (LLMs) with your resume and the content of job listings to generate a tailored, professional outreach email in seconds.
-Extracts job details directly from any public job posting URL -Parses resumes in PDF and DOCX formats -Uses LLaMA 3.1 via Groq to generate highly personalized cold emails -Clean UI built using Flask + Gunicorn -End-to-end AI pipeline for resume parsing, job scraping, and email generation
| Layer | Tools Used |
|---|---|
| Frontend (Web UI) | Flask |
| Backend (LLM & Processing) | Python, LangChain, Groq API |
| Parsing & Scraping | PyPDF2, python-docx, BeautifulSoup, LangChain WebBaseLoader |
| Deployment | Gunicorn |
| Environment Management | Python-dotenv |
git clone https://github.com/yourusername/cold-email-generator.git
cd cold-email-generatorpython3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activatepip install -r requirements.txtCreate a .env file with the following:
GROQ_API_KEY=your_groq_api_key_here
python app.pycold-email-generator/
│
├── app.py # Flask entry point
├── chains.py # Handles LLM prompts and logic
├── utils.py # Text cleaning, resume parsing
├── requirements.txt # Required libraries
├── .env # API key
├── README.md # Project documentation
Your
.envfile contains sensitive credentials (API keys) and must not be committed to version control. Add.envto your.gitignore.
