Configuring thunderbird for tor in both whonix and non-whonix qubes

Torbirdy is not compatible with thunderbird these days. So how do you use thunderbird with tor in qubes?

EDIT: I can’t connect to onion email servers in thunderbird even in whonix qubes. For some reason the “Done” button is greyed out in account setup in Thunderbird, despite filling in all fields and when I try to test the configuration, it just hangs at “probing server”