{{ define "mbox-link" }}
{{ if not (.HasAttr "\\Noselect") }}
{{- if eq .Name "INBOX" -}}
Inbox
{{- else -}}
{{ .Name }}
{{- end -}}
{{- if .HasAttr "\\HasChildren" }}/{{ end }}
{{ if and (ne .Unseen -1) (ne .Unseen 0) }}({{ .Unseen }}){{ end }}
{{ else }}
{{.Name}}{{- if .HasAttr "\\HasChildren" }}/{{ end }}
{{ end }}
{{ end }}
{{ define "aside" }}
{{ end }}