Use static constructor for MailSender

We only need to set up the SmtpClient once, so we use a static constructor