Hi Pinpin,
You might want to take a look at the system property messaging.maxunzippedattachmentsize under messaging set. The value of this system property is the max size for an unzipped attachment. I suspect, if it goes over the limit, system will try to zip the attachment. I’ve not played around with this myself to be able to confirm the behavior.
Regards,
Vikram