Skip to content

A Gmail bot which will sent the same email to many recipients

Notifications You must be signed in to change notification settings

knaiskes/gmailBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A gmail bot that is capable to sent the same email to many recipients

The idea of this project was born when I had to send a notification email for a local chess tournament

Requirements

  • Python 3
  • A gmail address (I recommend to create a new one and not use your personal address)

How to get it up and running Edit the keys.py file by adding your credentials in the definded variables

myGmail = "-----"
myPass = "-----"

Create two files, one called msg.txt and one called contacts.txt In msg.txt you can add the body of your email and in contacts.txt the email addresses of all the recipients one after the other in a new line

If you do not create these two files, the program will create them for you but they will be empty

Be aware the program does not check if the email addresses are valid it is up to you

Run bot

$ python main.py

Features that will be added in the future

  • Option to add an image Done
  • Option to send the email on specific date and time Aborted, it is better to make a cron job

About

A Gmail bot which will sent the same email to many recipients

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages