An AI-powered application to help create personalized job application emails based on job descriptions and your resume.
- Upload your resume (PDF, DOCX) and automatically extract text
- Generate personalized emails based on job descriptions
- Persist resume data between sessions
- Extract company name, contact name, and email from job descriptions
- Save and manage email templates
- Select from multiple AI models (requires G4F API server)
- Directly send emails from the application
- Copy generated email to clipboard
- Clone the repository
- Install dependencies:
pip install -r requirements.txt - Create a
.envfile with your email credentials (see.env.example) - Run the application:
streamlit run app.py
- Build the Docker image:
docker build -t email-generator . - Run the container:
docker run -p 8501:8501 -p 1337:1337 -v $(pwd)/data:/app/data email-generator
- Fork or clone this repository to your GitHub account
- Sign up for a render.com account
- Create a new Web Service and connect your repository
- Select "Docker" as the environment
- Under Advanced, add the following environment variables:
EMAIL_ADDRESS: Your email addressEMAIL_PASSWORD: Your email app passwordSMTP_SERVER: Your SMTP server (e.g., smtp.gmail.com)SMTP_PORT: Your SMTP port (usually 587)
- Click "Create Web Service"
Note: On render.com, the G4F API server runs inside the same container as the Streamlit app, so you don't need to configure separate ports.
If you want to run only the G4F API server (advanced setup):
docker run \
-p 1337:8080 -p 8080:8080 \
-v ${PWD}/har_and_cookies:/app/har_and_cookies \
-v ${PWD}/generated_media:/app/generated_media \
hlohaus789/g4f:latest-slimThen configure G4F_API_HOST and G4F_API_PORT in your .env file to point to this server.
- For Gmail, create an app password: Google Account Help
- Check if your SMTP settings are correct
- If the API status shows "Not Running", try using the "Start G4F API Server" button
- If models aren't loading, click "Refresh Models List"
- Check if port 1337 is accessible and not blocked by your network or firewall
- Make sure PyPDF2 and python-docx are installed correctly
- Only PDF and DOCX formats are supported