To send an email directly from Golang you can use the package smtp which implements the Simple Mail Transfer
Protocol (SMTP) as defined in RFC 5321. You also need a mail server, for this tutorial will use the Gmail mail server.
Firewalld is one of the Linux firewall management tool and it is available on the in the Ubuntu's default repositories, therefore it is available to
be installed from these repositories using the apt packaging system.