Zip file attached to email corrupted

We are using SendSimpleEmail activity with SendAllAttachments parameter set to true to send emails with case attachments.

It works correctly with different kind of attachments (images, pdf, docs..) except for .zip files which are sent corrupted.

The attachment can be correctly downloaded from the work item and opened, so it is saved correctly in Pega repository. Probably there is an issue when attaching it to the email.

Is there anything we can configure to avoid the issue?

@SilviaZ3

I received the answer by the support:

Patch 8.5.6 is due to be released in January and will be target for the permanent fix.

Meanwhile you may want to change how you call SendSimpleEmail as if you pass pzinskey of data-work-attach file in parameters the flow will work correctly