diff --git a/swu.go b/swu.go index 9be5bd2..2166403 100644 --- a/swu.go +++ b/swu.go @@ -47,6 +47,7 @@ type SWUEmail struct { BCC []*SWURecipient `json:"bcc,omitempty"` Sender *SWUSender `json:"sender,omitempty"` EmailData map[string]string `json:"email_data,omitempty"` + Headers map[string]string `json:"headers,omitempty"` Tags []string `json:"tags,omitempty"` Inline *SWUAttachment `json:"inline,omitempty"` Files []*SWUAttachment `json:"files,omitempty"` @@ -60,6 +61,7 @@ type SWUDripCampaign struct { BCC []*SWURecipient `json:"bcc,omitempty"` Sender *SWUSender `json:"sender,omitempty"` EmailData map[string]string `json:"email_data,omitempty"` + Headers map[string]string `json:"headers,omitempty"` Tags []string `json:"tags,omitempty"` ESPAccount string `json:"esp_account,omitempty"` Locale string `json:"locale,omitempty"`