The feature was introduced a couple of months ago. See HN discussion here:
https://news.ycombinator.com/item?id=34028346
("Google introduces end-to-end encryption for Gmail on the web", Dec. 17th 2022)
This blog post from today is about technical details.