Rules run in priority order (lowest first) at delivery time; the first match wins.
{{if .editing}}Edit Rule{{else}}Add Rule{{end}}
Existing Rules
{{if .rules}}
Priority
Name
Condition
Action
Status
Actions
{{range .rules}}
{{.Priority}}
{{if .Name}}{{.Name}}{{else}}(unnamed){{end}}
{{ruleSummary .}}
{{if eq .Action "move_to_folder"}}Move to {{.ActionValue}}
{{else if eq .Action "mark_as_spam"}}Mark as Junk
{{else if eq .Action "delete"}}Delete
{{else if eq .Action "forward"}}Forward to {{.ActionValue}}{{if not .ActionOptions.KeepCopy}} (no local copy){{end}}
{{else}}Mark as read{{end}}
{{end}}
{{else}}
No rules yet
Add one above to automatically sort or act on incoming mail.