IMAP

Incoming Mail (IMAP) Server
imap.gmail.com

Requires SSL: Yes

Port: 993

Outgoing Mail (SMTP) Server
smtp.gmail.com

Requires SSL: Yes

Requires TLS: Yes (if available)

Requires Authentication: Yes

Port for SSL: 465

Port for TLS/STARTTLS: 587

Full Name or Display Name Your name
Account Name, User name, or Email address Your full email address

https://support.google.com/mail/answer/7126229?visit_id=636698293812397946-150761089&rd=1