Skip to content

andreireporter13/email-scraper-and-message-sender

Repository files navigation

Email Scraper and Message Sender


This is a portofolio script, but it works perfectly. This include the following functional libraries:


  1. googlesearch-python
  2. playwright
  3. re
  4. smtplib

This script works with google smtp server. If you have 2factor authentification, you need create a password to
conect your email without any errors and problems.


In this tutorial you will see how to generate an app password:

Gmail 2F auth app password

This is a portofolio app, take care with GDPR.

It my another portofolio app. This script didn't work with Proxy or VPN. Even if it would work with
Proxy or VPN, you send with your email adress. So... be careful. If you send many emails
and didn't respect GDPR policy, you may have problems. You can find many information about email sender strategy
in internet. This script works for RO_ro Google Search area.


You have a 2f auth password. Its great. Now, you need find a folder with name: "email_sender",
in this folder, you will find a config.py file. Great! You need do complete variable email and password
with your data.



email = ''      # here input your email adress
password= ''    # here input your password or 2F auth password

If you want to customize the Plain text messages or edit the HTML template,
you can also find the text_data.py file in this folder.

How install this script?

You cand download this script with command:

git clone https://github.com/andreireporter13/email_scraper_and_message_sender.git

After this, you need create special virtual environments. A show how install it on Linux:

python3 -m venv venv_name

After installing venv, you need install libraries:

pip3 install -r requirements.txt

If you want to use this CLI app, you must insert this command:

python3 email_finder_sender_main.py

If you run this script, the questions that you will have to fill in with the necessary data will begin to flow.

Thank you for yout atention. If you need something else, you cand find me on my website:

Web Automation RO_ro

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages