eb9a6f9180
This change reorders the status determination logic to check for busy conditions first, ensuring successful transmissions are correctly marked as 'sent' and trigger the proper success email.