bootmail

automatically email one or more admins when a system reboots

Ubuntu
RUN apt-get update && \ apt-get install -y bootmail
click the source code to copy install bootmail on any operating system with command-not-found.com