Changed output to Binary Data, as Text sometimes corrupted binary attachments. If you are sure your parts do not contain Binary Data and you need the output as Text, use BinaryDataToText() with "utf-8" to convert it back to Text.
Bugfix: binaries were encoded as base64 instead of as binary, which caused them to be interpreted as text.