Look in ps_emailalerts / ps_emailers.php for the function:
public function hookActionUpdateQuantity($params)
You need to know the product id and possibly the product attribute id.
Then you can use other functions.
So if I don't know how to import, I can't give you more precise instructions.