Shoppers leave their email on a sold-out variant. When it comes back in stock, each of them gets one email with a link straight to it, and you see which variants people are waiting for.
Install it from the Shopify App Store, then open it from your Shopify admin. Privacy policy