Enable Your Gmail Account For Imap. Enable IMAP should be selected. Click on Settings in the upper-right corner of your browser.
In the drop-down menu that appears click Settings. Scroll to the bottom. Scroll down to the IMAP access and make sure that Enable IMAP is selected.
Click on the Gears icon and select Settings.
From the Admin console Home page go to Apps Google Workspace Gmail End User Access. Log in to your Gmail account and click on the Settings icon in the top-right corner. To enable IMAP for Gmail or Google Workspace Accounts. How to Activate IMAP in Gmail Open Gmail in a web browser.