There is a confirmed issue in some Magento 2 versions: an order is placed successfully, but the customer receives two order confirmations for the same order. The cause is not necessarily the mail server, SMTP module or custom sending logic.
Adobe has confirmed a Magento core issue. A patch is available through the current Quality Patches Tool 1.1.84 under the identifier ACP2E-5059 .
According to Adobe, the affected versions include Magento Open Source and Adobe Commerce from 2.4.8 through 2.4.9. Customers may receive duplicate order confirmation emails for a single purchase.
If you encounter this in a current Magento store, do not start by rebuilding your entire mail configuration. Depending on the version, it may simply be this known core issue.
The patch ACP2E-5059 can fix the issue without waiting for a full Magento upgrade.
If your store sends duplicate order confirmations, I can check whether this patch applies or another issue is responsible.