When somebody sends you a document as an attachment, don't just open it. Use the free tool Dangerzone to scrub it clean of ...
This library has been tested on a limited set of documents. It is highly likely that documents exist this from which the library, in its current state, cannot extract text.