I have a GFI outlet that gets tripped randomly, resulting in a big pool of water in my basement when the condensate pump stops running.

I would like to plug a Raspberry Pi in the other outlet, and get a notification (e.g. by email) when the Pi goes offline. It's no problem if it takes even an hour or so to alert me. There is a version of this for a [Photon board here](https://www.instructables.com/Build-a-Simple-Power-Outage-Monitor). I have an old Pi lying around, so I'd love to use that.

The photon board seems to have an established IFTTT integration. I see that it is possible to communicate with the Pi via webhooks, but I wonder if there is something even simpler to just see whether it's up and running.

Thanks for any leads!