We are using osticket 1.16.2 with PHP 8.0.18. I also tried with an older version of osticket and newer PHP (eg. 8.1).
I try to find the reason but I'm unable. In our setup, we collect the ticket from a mail server and place it in a "ticket_created" folder.
For some emails, there is no ticket body just an (empty) text, but for some emails, there is half of the email text and the end of the mail is missing.
If I put back the original mail form ticket_created folder to INBOX I can reproduce the problem.
There are tickets that contain all the texts.