Restoring gmail integration in Mail
Gmail's latest security protocols leave me unable to send or receive gmail messages in the Mail program on my MacBook Air as I always have, though the integration still works fine on my iPhone. It seems Google only wants gmail to integrate with third party applications that use 2-step authentication. I've enabled this in my Google settings but I don't see anything in my laptop's Mail that allows me to activate this feature. I've spent hours with the Google and Apple knowledge bases without finding the solution to restoring this basic functionality. Any help here? Thanks.
MacBook Air 13″, macOS 12.4