diff --git a/templates.go b/templates.go index 774c984..10ce59e 100644 --- a/templates.go +++ b/templates.go @@ -201,6 +201,8 @@ type TemplatedEmail struct { TrackOpens bool `json:",omitempty"` // Attachments: List of attachments Attachments []Attachment `json:",omitempty"` + // Metadata: metadata + Metadata map[string]string `json:",omitempty"` } // SendTemplatedEmail sends an email using a template (TemplateId)