christianvuye / SendBulkEmails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SendBulkEmails

  • Description: This project is a small desktop application I wrote for a friend who needed an easy tool to send emails with the same template but different recipient names in bulk to separate email addresses. The output formatting is hard-coded for the specific template of the said friend but can change by adjusting the "CSS" variable to whatever CSS the user prefers. The script uploaded to this repository handles one specific template, but the user can add different templates in the Excel sheet. The code can take multiple templates with a slight tweak to the for loop in the logic. I might add this functionality if said friend, I, or someone else needs it in the future.

  • Features: This application reads email address, name, subject and template input from a .xlsx sheet, along with text from a .docx template. It converts the text to HTML to ensure other elements, such as tables, are included in the sent email. The script also adds a tiny bit of custom CSS to ensure the converted HTML styles are correct.

  • How to use: The script requires specific user security-related .json files to be present in the same folder as the script or executable. Where to download these files? An elaborate tutorial on downloading them is outside of the scope of this README document. I will upload a "tutorial" folder with a video and written walk-through of how to set the application up. I tested this application with Gmail/Google Workspace only.

  • Technologies: + Python + HTML + CSS + ezgmail + mammoth + openpyxl

  • Collaborators: Sebastian Vuye (https://github.com/sebavuye) provided support on HTML and CSS and was a rubber duck for when I ran into issues.

  • License: MIT License Copyright (c) 2022 Christian Vuye

About


Languages

Language:Python 100.0%