Since the issue appears with attachments, could this be related to how MIME types or multi-part messages are being generated by EspoCRM? Have you tried...