- Latest version? This plugin has been updated in over a year
- Failed to connect to server is not the plugin's fault. It means there's a firewall between your server and gmail.
The Gmail API might work for you over port 443, but SMTP on port 465 is out.