Skip to content

A simple software to automate email sending with python.

Notifications You must be signed in to change notification settings

pablo-aa/email-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Simple email automation 📧

Linkedin: Pabloarruda Github: Pablo-aa Open In Colab

You need to send SEVERAL emails with specific content for each person and you don't want to do it by hand? This could help you!

Installation 🛠

How to use? 📄

  1. Create a excel table (.xlsx) like this 📁:
Name Email Message Personal Info
name 1 email1 message 1 information 1
name 2 email2 message2 information 2
name 3 email3 message3 information 3
  1. Configure some parts of the code 👨🏽‍💻
  # I. Configure your message in create_message function:
  def create_message(name, message, personal_info):
	return f'''
		<p>Olá {name}, </p>
		<p>{message}</p>
		<p>{personal_info}<p>
	'''
  # II. Configure your email credentials in envia_email function:
  def envia_email(corpo_email, dest):
      
      -> msg['Subject'] = 'Email Subject here'

      -> msg['From'] = '[email protected]'

      -> password = "****" # Enter your password here
  
  1. It's Done! ✅

About

A simple software to automate email sending with python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages