Introduction
Microsoft Outlook is an email client developed by Microsoft, and it’s available with the Microsoft Office suite. The first version was released in 1997 with Outlook 97, and the latest version is Outlook 2021.
MS Outlook includes features such as calendaring, task management, contact management, journal logging, and web browsing.
Microsoft has also released Outlook apps for mobile devices, which support Android and iOS.
How to configure Microsoft Outlook for Gmail
1. Open the Microsoft Outlook application on your desktop computer.

2. Enter your “GMAIL” email address and click Connect.

3. Enter your GMAIL account password and, if you want to stay signed in, select “Stay signed in” and click “Sign in.”

4. If you have previously enabled 2-factor authentication for Gmail, you will be prompted to enter the code sent to your mobile device. Enter the code and click Done, or else skip to step 6.

5. Microsoft apps & services wants to access your Google Account click Allow.


6.It will show the account successfully added as IMAP. Click Done.

7. A GMAIL account is added to Microsoft Outlook.

IMAP Account Settings
What is IMAP?
IMAP (Internet Message Access Protocol) allows you to access your email from any device, wherever you are, via an internet connection. When you are reading email messages while using IMAP, the messages are stored on the servers and not downloaded onto your device.
IMAP Ports
Port 143: Default port non-encrypted
Port 993: SSL port connect using IMAP securely
Click File > Info > Account Settings > Server Settings.

Incoming mail
Server: imap.gmail.com, Port: 993, Encryption method: SSL/TLS

Outgoing mail
Server: smtp.gmail.com, Port: 465, Encryption SSL/TLS

How to Set Up an Outlook.com Account in MS Outlook 2013/2016/2019
https://easytechhub.com/how-to-set-up-outlook-com-account-in-microsoft-outlook/
Conclusion
Gmail is a very popular and free email service for personal use from Google. A paid service is also available for businesses from Gmail. It’s called the G Suite. By following the steps mentioned in this post, you can easily configure a Gmail account inside Microsoft Outlook.