This is now resolved: The solution was to set up a SQL alert to send an email notification if x < 0. The content of a SQL alert can be customised.