NUT can send to you emails about ups status.
First of all, you need to configure your smtp sender. I am using mstmp. Ok, now you need to configure your upsmon.conf, you need change this lines:
NOTIFYCMD it is the path to your script, which will be send an email. NOTIFYFLAG SHUTDOWN SYSLOG+EXEC means that in this state (SHUTDOWN) nut write to syslog this event, and execute script, which we declared previously. You can add EXEC to another flags.
Next we need create a script, which send an email.
$NOTIFYTYPE, $UPSNAME it is variables from NUT.
And you can test it by this command: