Generating a automatic Email when actual quantity of item goes below safety stock

Hi,
I am the user of frappe ERP Next, I need to Auto generate the email when the actual quantity goes below the safety stock.
I tried different things but nothing helpful.
a report auto generated but it only show the quantity of material is in negative quantity, not the report of i wanted like actual quantity < safety stock.
Please help if any.