A mail server is required for sending emails. The s-nail package needs to be present in the container or container image.
s-nail
Emails can be used to notify designated personnel about important system events such as failures or warnings.