- Open
.envfile in a text editor - Add your email credentials:
For Gmail:
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-16-char-app-password
SENDER_EMAIL=your-email@gmail.com
SENDER_NAME=Your NameHow to get Gmail App Password:
- Go to https://myaccount.google.com/apppasswords
- Enable 2-Factor Authentication if not already enabled
- Select "Mail" and your device
- Copy the 16-character password (no spaces)
Double-click run.bat or run in terminal:
run.batOpen your browser and go to:
- Dashboard: http://127.0.0.1:8000
- Admin Panel: http://127.0.0.1:8000/admin
-
Sign Up / Login
- Create a new account or login with your credentials
-
Create a Template (Optional)
- Go to "Templates" in the sidebar
- Create a reusable email template
- Use placeholders like
{name},{company}, etc.
-
Send Bulk Email
-
Click "Send Emails" in the sidebar
-
Fill in campaign details:
- Campaign Name: "Welcome Campaign"
- Subject: "Welcome {name}!"
- Body: HTML content with placeholders
-
Choose Recipients:
- Option A: Upload
sample_email_list.csv(included) - Option B: Type emails manually (one per line)
- Option A: Upload
-
Click "Send Campaign"
-
-
Monitor Progress
- Go to "Campaigns" to see status
- Click "View" to see detailed results
- Check "Analytics" for charts and statistics
Subject:
Welcome to our service, {name}!
Body:
<h1>Hello {name}!</h1>
<p>Thank you for joining us at <strong>{company}</strong>.</p>
<p>We're excited to have you as our {position}!</p>
<p>We'll keep you updated at {email}.</p>
<br>
<p>Best regards,<br>The Team</p>- View total emails, delivered, failed, and pending
- See delivery rate percentage
- View recent campaigns
- Interactive charts
- Upload CSV/Excel files
- Manual email entry
- HTML email support
- File attachments
- Personalization with placeholders
- Create reusable templates
- Edit and delete templates
- Use in campaigns
- View all campaigns
- Track status (Pending, In Progress, Completed, Failed)
- See detailed email list with individual statuses
- Email status breakdown (pie chart)
- Daily activity (bar chart)
- Campaign performance table
- Download data as CSV
Run setup.bat again to reinstall dependencies.
- Make sure you're using an App Password, not your regular Gmail password
- Enable 2-Factor Authentication on your Google account first
- Check that SMTP credentials in
.envare correct
- Check your
.envfile has correct SMTP settings - Verify your internet connection
- Check Gmail's daily sending limit (500 emails/day for free accounts)
If port 8000 is busy, run:
python manage.py runserver 8080Then visit http://127.0.0.1:8080
If setup.bat doesn't work, run these commands manually:
# Create virtual environment
python -m venv venv
# Activate virtual environment
venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Copy environment file
copy .env.example .env
# Edit .env with your SMTP credentials
# Run migrations
python manage.py makemigrations
python manage.py migrate
# Create superuser
python manage.py createsuperuser
# Run server
python manage.py runserver- Customize Templates: Create professional email templates
- Test with Sample Data: Use
sample_email_list.csv - Monitor Analytics: Check delivery rates and optimize
- Scale Up: Integrate with SendGrid or other services for higher volumes
For issues or questions:
- Check the main
README.mdfor detailed documentation - Review the troubleshooting section
- Check Django logs for error messages
- Gmail Limits: Free Gmail accounts can send ~500 emails/day
- Rate Limiting: Emails are sent with 1-second delay to avoid blocking
- Compliance: Always follow email marketing laws (CAN-SPAM, GDPR)
- Testing: Test with a small list first before sending to large audiences
Enjoy sending bulk emails! 🚀