From:
{{if .Email.User}}
{{.Email.User.Email}} ({{.Email.User.FirstName}} {{.Email.User.LastName}})
{{else}}
Unknown sender
{{end}}
Date: {{.Email.Created.Format "2006-01-02 15:04:05"}}
Type:
{{if .Email.GmailMessageID}}
Gmail
{{if and .Email.IsDownloaded (not .Email.IsDownloaded)}}
Remote
{{else}}
Downloaded
{{end}}
{{else}}
Local Email
{{end}}
Attachments:
{{if gt (len .Attachments) 0}}
{{len .Attachments}} files
{{else}}
None
{{end}}
{{if .Email.GmailMessageID}}
Gmail Message ID:
{{end}}
{{if .Email.GmailThreadID}}
{{.Email.GmailMessageID}}
Gmail Thread ID:
{{end}}
{{.Email.GmailThreadID}}