3 ms·You need locking around the entire transaction, which includes sending the email.by infinite8s 11y agoYou need locking around the entire transaction, which includes sending the email.