cd <INSTALL_DIR>
tar xzvf spc-notify-mail.tar.gz
cd spc-notify-mail
Modify the settings in config.json according your environment and email account.
In spc-notify-mail.js, function manageSiaEvent() you have to add all SIA-event types you want to be managed by the program. Look in the SPC documentation for definitions of the SIA-event types.
Here is an example of a SystemD startup script for NodeJS email notify script.
Using Raspbian Jessie. I placed a plugin directory under the installation directory.
Please adjust path's to match your system.