Added SMTP as an option to Email function