Yay it's a microservice for sending emails. That's literally it.
To send mail, POST /send with params to (the recipient), subject (...), template (the template to use), and any other additional params needed by the template.
For each speficied template there must be [name].txt and [name].html in /templates, both of which will be rendered using the Jinja2 rendering engine.
In order to send mail, config.py must be created, and example of which is shown below:
FROM_NAME = "Funny Email Co."
EMAIL = "no-reply@example.com"
LOGIN = (EMAIL, "hunter2")
SMTP = ("smtp.example.com", 587)
MODE = 'STARTTLS'Note: MODE may be either STARTTLS or SSL.