I'd like to use the macOS Mail app for a few different reasons. But each time Mail launches (say, after clicking a mailto: link or if I'm taking a look at app preferences), the app begins downloading 15+ years of Gmail history to my drive. It's not that I don't have the drive space, but I have several practical reasons for keeping the the individual 'file count' of the drive as low as possible (each email is stored as an individual file in Mail's local storage folders).
Gmail's POP function does not have much in the way of settings, though I imagine local (client) settings are what will make the difference here. I do notice that Gmail's IMAP settings have an option to limit client-side folders to 1000 items (at the fewest), but then I cannot use the Mail client to access history older than whatever 1000 files happens to be in a given folder.
Even if I did go the IMAP route, a 15+ year old Gmail account would make this far from what I'm looking to do (turning local storage off altogether for Mail).
So I'm wondering if I just need to keep periodically deleting Mail's local storage folders -- or if someone here knows of a solution before I perhaps send this to Apple/feedback.
Thanks in advance!
p.s. Unlinking this email address from Mail (or finding a workaround in terms of how much is/isn't stored on the server) won't be practical in this case unfortunately