You can try to comment out this section: https://github.com/osTicket/osTicket/blob/55dc25ace736baeaf224ee608cfabc0218022036/include/api.tickets.php#L162-L165But if you do, all the more reason to make sure that you don't let emails stay in the inbox folder, but that you delete them or move them.