IMAP to REST API microservice
docker-compose up --build
docker-compose -f docker-compose.test.yml up --build --abort-on-container-exit
docker-compose -f docker-compose.systemtest.yml up --build --abort-on-container-exit
docker-compose -f docker-compose.dev.yml up --build
curl -i -X POST -H 'Content-Type: application/json' -d '{"subject": "Test email", "from": "foo@example.com", "to": "bar@example.com", "body": "Hello world"}' http://localhost:4001/v1/messages
curl -i -X POST -H "Content-Type: message/rfc822" --data-binary "@samples/email.eml" http://localhost:4001/v1/messages
curl -i http://localhost:4001/v1/messages
python -m venv venv
source venv/bin/activate
pip install imaplib
pip freeze > requirements.txt
flask --app app.py --debug run --reload --host=0.0.0.0 --port=4001