Mail Generator

Description

A project that came about as a result of becoming the publicity officer for my departmental student society. I had to send weekly newsletters and decided to write a specification based generator to streamline this process.

This project has two versions. The first was made in September 2022, the second in December 2022 identical in functionality to the first, except that it had a web interface.

Details

Skills: Jinja2 Python HTML Microsoft Azure
Scope: Personal
Date: December 2022

Features

  • Specification Based Generation A YAML specification is used to fill out a Jinja2 HTML email template creating a structured and simple approach to email writing. Using this reduced the time it took to write a new newsletter from an hour to just 10 minutes.
  • Web Interface: Creates a Local Flask Server and automatically opens a web page for the user with an interface. The interface provides one side for editing the email specification file and displays a live preview of the changes on the other. Sending is done with a button press.
  • Azure Connectivity: Automatically sends the configured email for the user by authenticating through Microsoft Azure and sending the email to Azure servers through a pre-configured HTTP request.