A mail server is required for sending emails. The s-nail package can be installed with the following command:
s-nail
$ apt-get install s-nail
Emails can be used to notify designated personnel about important system events such as failures or warnings.