Mailer Package mailer is a functional wrapper around the standard "net/smtp" and "html/template" packages.