{{define "subject"}}Example subject{{end}} {{define "plainBody"}} Hi {{.Name}}, This is an example body Sent at: {{now}} {{end}} {{define "htmlBody"}}

Hi {{.Name}},

This is an example body

Sent at: {{now}}

{{end}}