title: Kentico Email Widget using custom contact fields
body: <p>I'm creating an email template using Kentico's email marketing module. In which I have an email widget that retrieves and fills in holiday detail parameters based on some custom contact field values therefore making this dynamic for each user.</p>
  
  <p>How can I pass custom contact fields in to the widgets from the recipient? The recipient object only contains set values.</p>
  
  <p>Contacts for this email campaign are collected from a form submission that passes in the required values.</p>
  
  <pre><code>&lt;div style="display:none;"&gt;
      {% holidayDate = Recipient.GetValue("holidayDate"); #%}
      {% holidayId = Recipient.GetValue("holidayId"); %}
      {% ItineraryData = customNamespace.GetItineraryItem(holidayId, holidayDate) #%}
  &lt;/div&gt;
  
  &lt;h2 class="price"&gt;{% ItineraryData.GetValue("Price") #%}&lt;/div&gt;
  </code></pre>
  
  <p>Something like the above is what I am trying to achieve but I can't seem to work out how to get these custom fields to use in the email widget.</p>
  
  <p>Thanks,
  Luke</p>