Handles the creation and delivery of messages