build: Add email notifications based on environment variable

Signed-off-by: Thomas Graf <tgraf@noironetworks.com>