When a customer clickclicks on Sign up to get notified when this product is back in stock at that time, the customer id saveis saved in product_alert_stockthe product_alert_stock
table.
youYou can get the customer id using this model:
$model = Mage::getModel('productalert/stock');
Here is code to get customera customer's email address:
$collection = Mage::getModel('productalert/stock')->getCollection();
$collection->getSelect()->join( array('customer'=> customer_entity), 'customer.entity_id = main_table.customer_id', array('customer.email'));