On your computer, open Gmail.
In the top right, click Settings. See all settings.
Click the Forwarding and POP/IMAP tab.
In the "IMAP access" section, select Enable IMAP.
Click Save Changes.
https://livesupportnumber.com/aol/access-aol-com-email-account-using-imap/