- Sign in to the Google Admin Console.
- From the dashboard, go to Apps > Google Apps > Gmail > Advanced settings.
- In the Organizations section, select the organizational unit for which you want to configure settings.
- Under POP and IMAP Access, clear the check box for Disable POP and IMAP access for all users in the domain.
It may take up to an hour for IMAP changes to take effect.