This code, when the temperature exceeds 40 degrees, thanks to the IFTTT webhook, send you a notification on your phone. You have to install IFTTT app, and you need a “Pro” account.
How do you send the email? It does this thanks to all the configuration within IFTTT, for more information you can visit the page: elioiot.com/iftt
Compatibility
{ "do": [ { "if": { "is": [ "tempC", ">", 40 ], "then": [ { "webhook": { "url": "https://maker.ifttt.com/trigger/a_9Oo-gV6XgLRHyRejz9HX0Y7rVEu" } } ] } } ]}