read docs/analyza-woocommerce-email-throttling.md that describe problem and main motivation
read docs/sample-wc-mail-throttle.php for sample of simple solution
write mu-plugin (always active) in initial version 1.0.0 for Wordpress v.6.9.4 and WooCommerce v.1.26.4
main features:
0.intercepts wp-mail()
1.create persistent mail queue with automatic retention plan
2.create administration page where I can manage main queue settings (sent mail per minute, retention settings, enable/disable debug informations), assign what type of email will be handled (order statuses), enable or disable (disabled after queue is empty) this feature / current queue state - how many mails is pending, how many mails was sent, etc. / log view (with clear log)
3.make translations to Czech/English