Below is Gmail setting for mail notification that works for me..
I have to use port# 465 as 587 does not work for me.
SMTT server: smtp.gmail.com?
Port: 465
Login: "your full google mail address"
POP3 Server Address:? blank
POP3 Port No.:? blank
Authentication: LOGIN(SMTP-AUTH)?
SSL/TLS:? STARTTLS?