threader: try to handle pathless messages
Merge pull request #487 from zakkak/master

Fix encrypted multiparts and attachments indexing