Html preview fix and processing of zip attachments