Monitor Windows processes high CPU excluding SQL


What I want to do is generate an email of processes and how much CPU they're using on servers running SQL Server. The catch is I only want to send an email if CPU usage is over 90% and SQL is using less than 80%, in other words some other process is taking a lot of CPU and we're trying to identify it.

I've set up an alert using " Execute program : APM\SolarWinds.APM.RealTimeProcessPoller.exe...", now I'm looking for ways to refine it.