Network failure using Swoosh

Thanks! Yes, the port was wrong, among other things. I had just copied it from an example, I did not realize I had to change it to a specific value.
It had to change the port to 465, and set tls: if_available. Port 587 did not work though.
Besides that, I found out that, despite what the Swoosh doc suggests, that the emails must have a text_body.
Now the emails are working.

And yes, I will move to some other SMTP server, I just wanted to do a few tests using my gmail account. Thanks for the suggestions!