Configure Thunderbird for IMAP access to Gmail Ubuntu 19.10

I do it all on Ubuntu 19.10 in the standard Thunderbird application that is installed with the operating system.
I'm having trouble configuring Thunderbird in a VMware environment.
I am using a VMware 15 workstation.
I'm having trouble using Gmail. I have discussed it here. Https://superuser.com/questions/1502126/13-66-gb-out-of-15-gb-used-in-gmail-delete-emails-that-consumed- space now I want to try the proposal to me is given.
So I started configuring Thunderbird in Ubuntu19.10 in VMware
Everything was automatic I did not enter any values ​​except my username and password. But I have an error as shown in the screenshot.
Thunderbird problem
In my Gmail settings, I checked if POP3 and IMAP are allowed. How do I configure Thunderbird in this environment for it to work?