- Run with
set FLASK_APP=emailer.py
thenflask run
. - Test with postman. Send the sample json payload and it returns 200* status code when the send job is successfully queued.
- You can add additional sender accounts on top of mailgun in a similar fashion.