An open API service indexing awesome lists of open source software.

https://github.com/atul-anand-jha/email-automation-python

This repo contains python scripts to send Automated advance level emails to multiple receivers at once using Python.
https://github.com/atul-anand-jha/email-automation-python

Last synced: 4 months ago
JSON representation

This repo contains python scripts to send Automated advance level emails to multiple receivers at once using Python.

Awesome Lists containing this project

README

        

# Mail_Automation_Python

This repo contains python scripts to send Automated advance level emails to multiple receivers at once using Python.

You can send emails in different formats. You can even attach docs and files within your emails. Moreover, You could send html pages embedded to your mail.

And, the best part... You get to know, how you can ***save your mail from being marked as a phishing one***.


# ==================================================

So, let's start with a very simple one, proceeding to the next further :

# Pre - requisites

**1. emails.xlsx**

You need to put all email ids with the receiver's name in *email.xlsx* [ any spreadsheet ]. You will read them all, and send mails one by one in your automated python script.

**2. requirements.txt**

It contains all the required and compatible liibraries, you will need to run these python scripts flawlessly. Install all of them at once with:

- *Create your VIRTUAL ENVIRONMENT =* `python3 -m venv env`

- *Activate this virtual environment {**env**} =* `source env/bin/activate`

- *Install all libraries =* `pip install -r requirements.txt`

Now, You are all set. Let's get back to the main content i.e. *Sending Automated Emails*.

# Each Script serves a different purpose :



- ### Type 1 : Simple Text email with dynamic receiver's name.


Input :

![input1](https://github.com/Atul-Anand-Jha/Email_Automation_Python/blob/master/img/test1IN.png)


Output :

![output1](https://github.com/Atul-Anand-Jha/Email_Automation_Python/blob/master/img/test1OUT.png)



- ### Type 2 : Simple email with an attachment only.


Input :

![input2](https://github.com/Atul-Anand-Jha/Email_Automation_Python/blob/master/img/test2IN.png)


Output :

![output2](https://github.com/Atul-Anand-Jha/Email_Automation_Python/blob/master/img/test2OUT.png)



- ### Type 3 : An email witha body and an attachment file.


Input :

![input3](https://github.com/Atul-Anand-Jha/Email_Automation_Python/blob/master/img/test3IN.png)


Output :

![output3](https://github.com/Atul-Anand-Jha/Email_Automation_Python/blob/master/img/test3OUT.png)



- ### Type 4 : An email with body in HTML format with image embedding. [Marked as PHISHING by GMAIL]


Input :

![input4](https://github.com/Atul-Anand-Jha/Email_Automation_Python/blob/master/img/test4IN.png)


Output :

![output4](https://github.com/Atul-Anand-Jha/Email_Automation_Python/blob/master/img/test4OUT.png)



- ### Type 5 : A perfect email with HTML w/o caught as PHISHING using MIME. [email / password from CMD]


Input :

![input5](https://github.com/Atul-Anand-Jha/Email_Automation_Python/blob/master/img/senderIN.png)


Output :

![output5](https://github.com/Atul-Anand-Jha/Email_Automation_Python/blob/master/img/senderOUT.png)

# Thanks!