You can use this HW
http://www.qasupplies.com/poweroutalert.htmlOr setup a redundant power supply, connect one to the UPS and one to the Regular power outlet and when the Windows event viwer trigers a failiure for the that has no UPS you can try and send this events to e-mail