For setup email client like Microsoft Outlook , you can simple using Google Apps Sync for Microsoft Outlook instead of setup manually.
Google Apps Sync for Microsoft Outlook is a Microsoft Outlook plug-in that lets you use Microsoft Outlook as a client for Google Apps email, calendar, and contacts. Email, calendar events (including recurring meetings), and contacts are all synchronized between Google Apps and Microsoft Outlook.
You can download Google Apps Sync for Microsoft Outlook application here.
https://tools.google.com/dlpage/gappssync
Here is the support article for your reference:
https://support.google.com/a/users/answer/153871?vid=1-635764417953384940-4209286351