Change to using SMTPClient for email sending