The Email service "sends" an email to the customer with their order details by rendering it as a log message. It expects a JSON payload like:
{
"email": "some.address@website.com",
"order": "<serialized order protobuf>"
}We use bundler to manage dependencies. To get started, simply bundle install.
You may run this service locally with bundle exec ruby email_server.rb.
From src/email, run docker build .