You have {{.Count}} new task{{if gt .Count 1}}s{{end}} on {{.ProjectName}}
Hi{{if .RecipientName}} {{.RecipientName}}{{end}},
The following request{{if gt .Count 1}}s have{{else}} has{{end}} been assigned to you:
{{range $i, $task := .Tasks}}
{{if lt $i 5}}
|
{{$task.Title}}
{{if $task.DueDate}}
Due: {{$task.DueDate}}{{if eq $task.Priority "high"}} · High Priority{{end}}
{{end}}
|
|
{{end}}
{{end}}
{{if gt .Count 5}}
...and {{sub .Count 5}} more
{{end}}
|