This repository contains a python script that can generate a newsletter-like .html document.
You need to install python and install Pipenv. Pipenv is a tool that manages python dependencies in a virtualized environment.
After you have installed Pipenv, navigate into this folder and run:
pipenv install
To compile a newsletter, run:
./mknewsletter.sh --date=Dec-2023
Date must be a directory within ./contents
.
For more information, inspect the script or run:
pipenv run python ./mkmail.py --help
With most mail clients, you can simply open the resulting .html
file (by default newsletter.html
), select everything (press Cmd/Ctrl+A), copy (Cmd/Ctrl+C), and paste it (Cmd/Ctrl+V) in a new mail of your mail client of choice.