Issue
When changing over to Oauth for the email setup, user is getting error message, “The Send test failed. The SSL port number is invalid.”
Error Code

Resolution
We have found that this may happen when a botflow is using the unlock action.
To resolve, delete the Unlock action, and delete the email setup on the right side of the bot.
Then recreate the email setup and authenticate.
If you want to use the unlock action, make sure you are running the Bot as administrator and your UAC settings are turned off. See below:

