500 5.5.1 Invalid command: Cannot send mail with Discourse on new install but can from command line (on digital ocean)

Honestly, no, but try to get it working with example seen in real python first. I think this led me to the solution.