This is a sample app to show the usage of mailgun's mail storage API, here's how to set it up for your team.
In this example we use [email protected] for our status list, but you should pick something else like [email protected]
First set up a Mailgun mailing list (something like [email protected]
).
Then add a route when the matcher is match_recipient([email protected])
and the action is store()
Then edit staticus.py
and change the appropriate variables. Set API_KEY
to the API key found in your control panel. MY_DOMAIN
should be the domain of the status list. MY_STATUS_LIST
should be the list you've just made.
From now on you should be able to run python staticus.py
and pull down the most recent status emails from your team.