Kmail, Gmail, 2FA, OAUTH

The last time I used Thunderbird it downloaded fifteen years worth of messages to my internal disk and it seemed like there was no simple way to change this. Is it possible to use TB like I would use FairEmail/k9 or any other mobile client (in other words, without downloading the messages locally)?