Hello,
To improve your IMAP connection and sync speeds you can configure Gmail to only show recent emails on your devices using IMAP to connect to your Gmail account.
Go to your Gmail Settings:
Then select Forwarding POP/IMAP, update your folder size limits, and save the changes: