# Functions
NewMailWorker returns an instance of MailWorker with the mail queue initialized.
# Variables
Mailer is a global instance of the mailer that can be used in applications.
MaxReconnectAttempts is the maximum number of times we should reconnect to a server.
# Structs
ErrMaxConnectAttempts is thrown when the maximum number of reconnect attempts is reached.
MailWorker is the worker that receives slices of emails on a channel to send.