delegated creation of SmtpClient to provider

instead of doing it all in the module