Instead of skipping indexing all attachments, we check of a (user configured) mime type that is indexable as text.