1. Click the gear icon

 

2. Click See all settings

 

3. Click "Forwarding and POP/IMAP"

 

4. Click "Enable IMAP"

 

5. Click "Save Changes"