Network UPS Tools: http://www.networkupstools.org/ Simple SMTP: debian package ssmtp; arch official package ssmtp - https://wiki.archlinux.org/index.php/SSMTP has instructions for sending via gmail