To access a Gmail IMAP account in Outlook, open the software, then go to Tools > E-mail Accounts > Add a new email account. Enter the required information (name, email address, password) - depending on your Outlook version, you will need to skip the automatic setup by ticking the Manually configure... option in order to proceed to the manual settings.
The next screen requires the following information:
Incoming mail server: imap.gmail.com
Outgoing mail server: smtp.gmail.com
The logon information requires your full Gmail email address and password – however, before you can Test Account Settings, click More Settings... in order to set the advanced options for sending and receiving.
On the Outgoing Server tab, ensure that My outgoing server requires authentication is ticked and that the option Use same settings as my incoming mail server is selected.
Next, go to Advanced, and set the port number of your Incoming server to 993 using SSL encryption; the Outgoing server should be set to use port 587 and TLS encryption.
There is little difference between the setup of IMAP accounts across the various email clients on PCs and mobiles – however a full list of configuration instructions for pretty much all desktop email clients and mobile devices can be found at mail.google.com/support.