Skip to content

rebeccamice2002/bulkmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“§ BulkMail - Bulk HTML Email Sending App

A simple yet powerful desktop application built with Python and Tkinter for sending HTML-formatted emails in bulk through Gmail SMTP.


✨ Features

  • πŸ“¬ Bulk email delivery
  • 🎨 Beautiful HTML email templates
  • βš™οΈ Auto-saving configuration
  • πŸ“ Custom subject and description
  • 🌐 Website & Telegram button support
  • ⏱ Adjustable sending delay
  • πŸ“Š Live sending status updates
  • πŸ›‘ Start / Stop controls
  • πŸ”„ Queue-based email processing
  • βœ… Duplicate tracking with sent history

πŸ–₯ Preview

The application provides a graphical interface where you can:

  • Configure SMTP credentials
  • Edit email content
  • Set website and Telegram links
  • Choose send count
  • Monitor sending progress in real time

πŸ“‚ Project Structure

.
β”œβ”€β”€ main.py
β”œβ”€β”€ config.json
β”œβ”€β”€ data.txt
β”œβ”€β”€ sended.txt
└── README.md
File Description
main.py Main application
config.json Saved configuration
data.txt Email queue
sended.txt Sent email records

πŸš€ Installation

Clone the repository

git clone https://github.com/rebeccamice2002/bulkmail.git

cd bulkmail

Install requirements

pip install tk

Tkinter is included by default in most Python installations.


βš™οΈ Gmail Setup

To use Gmail SMTP:

  1. Go to your Gmail Account Settings.
  2. Enable Two-Factor Authentication.
  3. Generate an App Password.
  4. Use:
SMTP Server: smtp.gmail.com
Port: 587
  1. Enter:
Sender Email
App Password

inside the application.


πŸ“‹ Email Queue

Add recipient emails to:

data.txt

Example:

user1@example.com
user2@example.com
user3@example.com

Each line represents one recipient.


🎨 HTML Template

The application generates responsive HTML emails with:

  • Custom title
  • Description section
  • Website button
  • Telegram button
  • Styled modern layout

Example:

🎯 Your Title

Your custom description...

[🌐 Visit Website]

[πŸ’¬ Join Telegram]

πŸ”„ Sending Workflow

Load Emails
     ↓
Validate Address
     ↓
Generate HTML
     ↓
Send via Gmail SMTP
     ↓
Save to sended.txt
     ↓
Remove from Queue

πŸ“Š Status Indicators

Status Meaning
βœ… Email sent successfully
❌ Sending failed
⏹ Sending stopped
πŸ“¬ Sending in progress

πŸ›  Technologies Used

  • Python 3
  • Tkinter
  • SMTP
  • MIMEText
  • Threading
  • JSON Configuration

⚠️ Configuration Security Reminder

This application stores SMTP credentials and other settings inside config.json.

If you plan to:

  • Fork this project
  • Push it to GitHub
  • Share the source code publicly

make sure your personal config.json is not included in the repository.

A typical .gitignore entry would be:

config.json

Before publishing, remove or replace any:

  • Email addresses
  • App passwords
  • SMTP credentials
  • Personal links

with placeholder values.

Example:

{
    "sender_email": "your-email@gmail.com",
    "app_password": "your-app-password"
}

πŸ“œ License

This project is provided for educational purposes.

Users are responsible for complying with:

  • Gmail Terms of Service
  • Local anti-spam regulations
  • Recipient consent requirements

⭐ Contributing

Pull requests and improvements are welcome.

If you find a bug or have a feature suggestion, feel free to open an issue.


Made with β˜• Python & Tkinter

About

πŸ“§ BulkMail - A simple yet powerful desktop app for sending private emails in bulk through Gmail SMTP.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages