Hi Claudio,
The quick answer is to remove the parameter '-message_id $message_id ' in the invocation of acs_mail_lite::unique_id_create
I believe that is all (and reload via acs-admin/apm). It will take a few hours for me to formally test to confirm this.
best wishes,
Ben