I have a backup UPS on my Mac Studio. NS 1500M2 via USB. Trying to see how my mac can send me an email (assuming power goes down but internet still up) when UPS is switched on.
So far, I've found this:
https://www.dssw.co.uk/powermanager/
Low price, might try it out. Looks powerful if you want to automate a lot on your Mac (I just want the email thing). #MacOs