When emails are sent
Each signup gets one of these statuses: waiting, queued, sent, failed or unsubscribed.
- Signup: the subscriber is saved as waiting.
- Restock: when WooCommerce sets a product's (or variation's) stock status to In stock, all waiting subscribers for it become queued. The plugin then schedules a send about 30 seconds later instead of waiting for the next regular run.
- Sending: queued subscribers are emailed in batches. On success the status becomes sent and the time is recorded.
Restocks made outside WooCommerce
Imports or direct database changes fire no stock event. To cover this, every queue run first checks waiting subscribers (up to 100 product/variation targets at a time) and queues those whose product is in stock now.
Stock disappears again
If the product is out of stock again when the email is about to go out, the subscriber goes back to waiting for the next restock.
Product removed
If the product no longer exists or is not published, the subscriber is marked failed with the error Product no longer available.