Add an argument to EventManager.trigger that may receive a callable expected to return a dict containing contact data to be used when creating a contact unknown to emarsys before triggering this event
Add an argument to EventManager.trigger that may receive a callable expected to return a dict containing contact data to be used when creating a contact unknown to emarsys before triggering this event

When triggering an event resulted in an error code 2008 (contact is not known to emarsys) this code expected that the contact to be created was the user given in the user argument, which is not true for some events.

machtfit/django-emarsys,machtfit/django-emarsys