Email when value over thershhold

Hello,

I am trying to find the best way on sending alertemail to me when my esp32 temperature sensor reaches a temperature over a certain value.
I tried to use webhook and IFTTT website but it didnt work.
The problem is that the webhook in Arduino iot cloud will send a request every time the temperature changes in interval of 30 s.
I there is a way of making IFTTT website sends only email when the temperature is overthreshold value?
if not is there is a way to make the Arduino iot cloud send the requests to IFTTT website only when a variable value reaches over threshhold?
if not how should i do that since i dont want to continuously every 30 s look at the dashboard to see if the temperature is over threshhold.

Kind regards
HD

You may want to read this before you proceed:-
how to get the best out of this forum

Because it tells you the sort of thing you need to supply for members here to make a meaningful response.

Things like a schematic and code listing.

One way to get an email when temperature exceeds a certain amount is to send the email directly from your ESP32 using this library:

Look for it in the Arduino IDE lib manager. No need to use Arduino IOT Cloud or IFTTT.

Another more complicated way to get an email or IFTTT notification when temperature exceeds a certain amount is to post the temp data to ThingSpeak. Then create a ThingSpeak "React" app with a condition (e.g., temp is over a certain value) that when met will use "ThingHTTP" to trigger an IFTTT notification or a "MATLAB Analysis" to send an email via the ThingSpeak "Alert" service.

If you only want an IFTTT notification, then you can also use your ESP32 to directly trigger it (when the temp exceeds your threshhold) with a GET or POST using https://maker.ifttt.com/trigger/{event}/with/key/{webhooks_key}

edit to add:

PS: if you use the Mobizt library with Gmail, pay attention to this essential note about needing an "app password":