Async Sales Email
Composer kowal/module-async-sales-email · Version 1.0.0
Product page
Description
Sets asynchronous sales email as Magento’s default and reports whether native cron jobs are processing pending documents.
For whom
For administrators investigating delayed order, invoice, shipment or credit memo confirmations.
Features
- Inspect native sales email jobs.
- Set separate warning thresholds for document age and cron delay.
- Read the CLI report as text or JSON.
Installation
From the Magento root, with Composer access to the Kowal package, run
composer require kowal/module-async-sales-email
bin/magento module:enable Kowal_AsyncSalesEmail
bin/magento setup:upgrade
bin/magento cache:clean
Configuration
- Before activating on an existing store, review pending documents: changing the sending mode can affect historical confirmations.
- In Stores → Configuration → Sales → Sales Emails, check Asynchronous sending at default scope. An explicit No overrides the module default.
- Set thresholds under Asynchronous Sales Email Diagnostics. Defaults are 30 minutes for document age and 10 minutes for cron delay.
Requirements / notes
The module relies on native Magento cron. Its Composer constraints include magento/module-sales >=103.0.6 <103.0.9. Check the installed package version before deployment.
FAQ
Does document age tell me exactly how long the email has been waiting?
The report measures time since document creation. Compare that age with the sending job status and the configuration for the email type.
Verify the installation
bin/magento module:status Kowal_AsyncSalesEmail
Check the effective setting with bin/magento config:show sales_email/general/async_sending. Run bin/magento kowal:async-sales-email:status. On staging, place an order using your own email address and check the report and inbox after cron runs.