Implementation of the test tasks Configure Set up Mailchimp API key in index.php and the message data. Run docker Docker will run rabbitmq and install the required libs via composer. docker-compose up -d Run consumer script In terminal run the consumer script. php index.php consumer By default mailer type is set to php to use the standard php mail() function. To use Mailchimp run the following command php index.php consumer mailchimp Push the messages to the queue `php index.php producer`