Send mails to gmail: connection error

Assuming that setting tls to true in mail.cfg as documented in the readme is correct about all I can offer is that the Mail Binding works with Gmail just fine. You can find a tutorial at How to configure the Mail Binding to use GMail for sending email from openHAB.