Is possible to add a custom text to a email before send it using mautic API.
We have an website where users may be notified when they receive a Gift. I would like to them receive this email with te gift name and price info.
This event is dispatched every time a gift is purchased, An email is sent by MauticAPI like :
$response = $emailApi->sendToContact($emailId, $contactId);
But I would like to add the gift name and price in the email body. How can I do it?