djcb/mu — pull request #487 by zakkak (2014-10-12 19:53:48+00:00)
Title: Fix encrypted multiparts and attachments indexing

Pull request #483 (Patches for #186) does not handle encrypted multiparts properly. It
used to just verify the signature and not process the parts of the
multipart. This commit resolves this issue.

Additionally it did not index attachments properly and in the case of a
multipart directly containing more than one multiparts resulted on non
unique indexing of attachments/parts. This commit resolves this issue
as well.

NOTE: Please review, carefully, the changes in `get_text_from_mime_msg`. The changes should not change its behavior, however I am not sure that this behavior is OK already. The function used to take an index as a parameter and never use it. Are we sure we don't need this index?