We are using Mautic in use cases usually different than mainstream, such as for our transactional emails as a microservice. This requires us to share tokens that are sent from our message bus into our emails. Only Lead object wasn't enough, so instead, I am now sharing the SendEmailEvent with the template processor. The code is aware of its parent, CommonEvent as well.
This change would not affect anyone using it, but it would enable flexibility if event tokens are used in a custom workflow.
Hi there,
We are using Mautic in use cases usually different than mainstream, such as for our transactional emails as a microservice. This requires us to share tokens that are sent from our message bus into our emails. Only
Lead
object wasn't enough, so instead, I am now sharing theSendEmailEvent
with the template processor. The code is aware of its parent,CommonEvent
as well.This change would not affect anyone using it, but it would enable flexibility if event tokens are used in a custom workflow.