How to access smtp.gmail.com or other to send email

I will point out one the first of many problems with this code. This is incorrect.

  Ethernet.begin(mac, ip,gateway,subnet);

Of course, you won't know why the rest fails. You are not reading the response from the email server. I posted a link to the code I use a few posts ago.