Am Donnerstag, 27. April 2017 09:30:36 schrieb Pali Rohár:
So solution (if somebody want to implement it) should be simple: after downloading text part, check if contain some BEGIN PGP header and if yes, decode it. There is no need to pre-download every part of every message (which slowdown email program).
It get's a bit more complicated with the way the message model works and is used by Trojitá (e.g. replacing parts in the mime tree is more complicated than adding new parts as children of a multipart/encrypted).
Greetings, paalsteek