There are times when users face the issue of Gmail IMAP not working. If you are the one facing the same issue then check whether IMAP/POP is enabled on Gmail. If it is not enabled then start by logging into Gmail account and then you will see a small gear icon on the top right corner of the scree, click on it and choose settings option. Now, find the forwarding IMAP/POP tab and ensure IMAP is enabled. After enabling it then check whether you can operate Gmail or not.