I think my thunderbird downloaded 50k emails via imap just fine.
When you click on an email - then it'll download that email. Attachment is also probably you have to click it too.
That's just not feasible when you (turned out to have) nearly 150 K emails in your Gmail account.
Currently giving this a try, fingers crossed.