From dbc7bd84f057a84d1289194a37ff1269df61cc57 Mon Sep 17 00:00:00 2001 From: PetitCassoulet <32261343+PetitCassoulet@users.noreply.github.com> Date: Wed, 22 Jul 2020 18:16:16 +0200 Subject: [PATCH] Add metadata to TemplatedEmail --- templates.go | 2 ++ 1 file changed, 2 insertions(+) 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)