It was recently (Oct 8) announced that that Google would provide a 12-month heads-up for stopping less secure app access, so it's my understanding that IMAP is not affected at this point.
https://workspaceupdates.googleblog.com/2020/03/less-secure-...