Bespin mail delivery service. Monitors a message queue for a particular send_email
message and posts a message to the appropriate bespin-api REST endpoint. If the POST fails it will retry after waiting some time.
- python/pip - python 2 or 3
- Rabbitmq - a queue were messages are placed for lando and lando_worker to consume.
- bespin-api - a REST API that
mailsender.py
will ask to send email
pip install -r requirements.txt
Fill in environment variables in setup.sh
replacing TODO with actual values.
source setup.sh
python mailsender.py