{{define "email-table"}}
| ID | Subject | From | Date | Attachments | Type | Associated | Actions |
|---|---|---|---|---|---|---|---|
| {{.ID}} | {{if .Subject}}{{.Subject}}{{else}}(No Subject){{end}} | {{if .UserEmail}} {{.UserEmail}} {{else}} Unknown {{end}} | {{.Created.Format "2006-01-02 15:04"}} | {{if gt .AttachmentCount 0}} {{.AttachmentCount}} {{else}} None {{end}} | {{if .GmailMessageID}} Gmail {{if and .IsDownloaded (not .IsDownloaded)}} Remote {{end}} {{else}} Local {{end}} | Associations TBD | |
|
No emails found |
|||||||
Email Attachments