Clean architecture, render email content
I have a notifications subdomain where all emails and SMS notifications are handled / sent from the system, based on integration events from other parts of the system.
Retrieving data from outside current subdomain in integration event handler
In our application, which among other things handles vehicle assessment orders, we want to separate all notifications (email/sms) sent from the system to a separate subdomain (clean architecture-ish). The notifications should be sent based on given domain events which in turn are mapped into system wide integration events.