A utility for sending emails to customers. Currently under construction for its v1.1.0 release. Master will most likely be broken, use the 1.0.0 branch.
Run mailer using this command:
gunicorn -c gconfig.py run:app
Cron can be used to send emails with postman.py on a set interval. I would highly recommend doing some research on what the best times are for your target audience (e.g. lawyers, soccer moms, etc) are. I've included an example blow:
# Send emails out at 11:00am every weekday
0 11 * * 1-5 cd /path/to/mailer && pipenv run postman
You will most likely have to setup PATH in your crontab so it knows where pipenv is. I would also highly recommend setting up sendmail to email you if there are any errors. Amazon AWS has a really nice free tier that can be used to send emails and Zoho has free hosting with a custom domain if you need a mailbox. This project is not sponsored by either Amazon or Zoho, nor am I paid by them in any way.
- I need to really setup tox and pytest.
- Look into using Vue for part of the UI.
- Use javascript/Vue to insert form into the pages with tables, using buttons to reveal/hide the form.
- Expand mjml support to allow editing full template in mailer.
- Allow users to preview template.
- have users login like an email address (e.g. user@group).