[ADD] attachment_preview

I think a lot of attachment fall in this case, so it's very needed this part. https://docs.python.org/2/library/mimetypes.html can be used.