Hope that was given to the authorities.
I don't have much programming experience so hopefully someone may be of more help with script generation. Usually there isn't any kind of feature to send notification if there is a power failure...
Only other thing I can suggest for power outages, would be to install a UPS battery back up for the ISP modem, router and if you need the cameras to be powered on during this time frame, you'd have to install UPS on each camera.

The UPS wold keep the internet going for a short time frame until the main power was restored.