Skip to content

Sven-Bo/automate-sending-emails-using-python

Repository files navigation

Automate Your Emails Using Python - Build A Payment Reminder & Schedule Your Scripts Online (FREE)

Are you still manually sending emails to your customers and clients? In this video, I'll show you how to send automated reminders. In particular, I will show you how to send emails with Python. Afterwards, we are going to host our Python script. You can then determine when exactly you want to run your script. This solution might be helpful if you do not want to spend a dime on any expensive email automation solution. You can build your email automation solution for free if you follow this video.

Architecture

Architecture

Video Tutorial

YouTube Video

Requirements

Install the dependencies with pip

pandas
python-dotenv

[FOR WINDOWS] Install the Deta CLI, open PowerShell and enter:

  iwr https://get.deta.dev/cli.ps1 -useb | iex

Make a Google Sheets Copy

Here you find the Google Sheet I have used in the video: ⤵
https://pythonandvba.com/sheets-invoice-data
Google Sheets

Deployment

Official Documentation: https://docs.deta.sh/docs/micros/getting_started

[FOR WINDOWS]
To deploy this project you:

  1. login via the deta CLI
  deta login
  1. create a new micro (only once!)
  deta new --python first_micro
  1. upload your environment variables
  deta update -e <env_file_name>
  1. deploy your app
  deta deploy
  1. set the cron job
    Example: Run every minute
  deta cron set "1 minute"

Environment Variables

To run this project, you will need to add the following environment variables to your .env file
EMAIL PASSWORD

More Solutions

Explore my tools and templates for Excel, automation, and more.

View all solutions

Connect with Me

Support

If you find this project helpful, consider buying me a coffee.

ko-fi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages