I do similar work with Windows 11, of course, both for my own needs and for the books and how-to articles that come out of that. And it’s fair to say that I am much more familiar with what’s possible ...
CNET has the full steps over at its site, but in Gmail you can use the "Forwarding POP/IMAP" tab to forward all your emails ...