Adding preview of plain text attachments