You can achieve this using Shopify's native inventory tracking combined with a Replo-built dynamic section that conditionally displays an email opt-in when stock hits zero.
For apps,black in stock – restock alerts and notify me are great options that integrate seamlessly with Replo LPs.
DM let's set this up!