I have the macOS Mail app set up with my Google Gmail account using the IMAP integration. I have over 50,000 emails in my Gmail account, and the Mail application is starting to get a bit slow. For example, it takes several seconds to be able to open an email.
What are my options? I want to continue using macOS Mail, but I don't necessarily need access to all historical messages because I can log into the Gmail website for that.
I'm using Mail Version 13.4 (3608.80.23.2.2) on macOS Catalina 10.15.4 (19E287).