An outbound gateway is an event handler that responds to events by invoking an external service. For example, an outbound gateway might send an order confirmation as an email message via SMTP or a text message via Twilio. The outbound gateway might also update an aggregate with the outcome of invoking the external service.