To receive the incoming email servers in your account the hostname is imap.gmail.com. You must fill in the details like email address and password to set up under the Incoming Mail Server. The outgoing hostname is smtp.gmail.com.