Request for help with creating automation

Request for help with creating automation

Hello,

I would like to ask you for help in creating an automation.
I have this door contact https://www.dragino.com/products/lorawan-nb-iot-door-sensor-water-leak/item/157-lds01.html
Even if the door is not opened, the device will send a message once every 24 hours with its status, where is the battery voltage, door status, etc.
I would like an automation that will send me an email if the device doesn't hear back after 24 hours. That is the data sent from the device will be older than 24 hours. That way I would know that there is a problem in communication - for example, that the batteries are dead or the device is out of range of the network.