Given the HTML file as an Email template, a separate python file is required to add or modify data. Resources: 1. https://stackoverflow.com/questions/35355225/edit-and-create-html-file-using-python 2. https://docs.python.org/3/library/html.parser.html