I am sending a custom created (by code) HTML email to 100’s of people via an API call. How can I include merge fields in the resulting email that get resolved when sent?
Using the normal campaign merge fields did not work. ~contact.email~, for example here.