Fix: Fix race condition that could create a server error when inserting mail tracking log entries
This version fixes a minor issue with the mail log tracker, where a "Duplicate key x-x for key PRIMARY" could be generated in certain scenarios. This bug did not impact the main functionality of the add-on.