* For undownloaded attachments, set type :unknown, display them as a list in the web UI * Fix case when attachment type is set explicitly