The SMTP code example had a typo and was using the wrong environment variable to set the port for the email plugin