Bug 1100557 - [email/IMAP] v2.0-specific (/ pre v2.1) closed-over shared-variable hazard may corrupt embedded attachments when there are 2 or more of them.

This patch moves the forEach logic up so that mparser (most notably)
gets closed over.