{{template "head.html" .}} {{template "nav.html" .}} {{template "util.html" .}}
{{ template "aside" . }}
{{ template "messages-header.html" . }}
{{range .Messages}} {{ $classes := "message-list-item" }} {{ if not (.HasFlag "\\Seen") }} {{ $classes = printf "%s %s" $classes "message-list-unread" }} {{ end }} {{ if (.HasFlag "\\Deleted") }} {{ $classes = printf "%s %s" $classes "message-list-deleted" }} {{ end }} {{ if not (.HasFlag "\\Deleted") }}
{{if .Attachments}}📎{{end}} {{if .HasFlag "\\Answered"}}↩{{end}} {{if .HasFlag "$Forwarded"}}↪{{end}}
{{ if .HasFlag "\\Flagged" -}} {{ else }} {{ end }}
{{ .Envelope.Date | formatdate }}
{{ else }}
(this email was deleted by another client)
{{ end }} {{ end }} {{if not .Messages}}

Nothing here yet.

{{end}}
{{ template "messages-header.html" . }}
{{template "foot.html"}}