pub fn attachment_kind(name: &str, mime: &str) -> &'static str
The kind of an attached file, by its type, else by its name’s ending (KINDS; “other” for the rest).
KINDS