Did you try to use google?
For to do something if conditions was passed
Only working for you google account, of course.
Atetion 1: Triggers can be did very very slow you application. Please, be careful when you do it. Or using triggers on shedule.
Atetion 2: Don`t forget about Credentials in Google App Script (just run you script in editor and then follow the instructions)