I've written a simple TCP client that monitors the number of emails I get.
I'm refreshing the email inbox using the following command (A100 is just an example unique value):
A100 SELECT INBOX
Ideally I hope to refresh this every 15 seconds 24/7. However, I find it difficult to understand what rate-limits Gmail has regarding this. Here are some sources I've consulted which don't make it clear how many commands I can send per minute/hour/per day before hitting the quota.
https://developers.google.com/gmail/api/reference/quota
https://support.google.com/a/answer/1071518?hl=en
What are the quota limits for Gmail IMAP commands? Or are the quotas mainly aimed towards minimizing bandwidth? I've checked the bandwidth usage of this command and it is very minimal.
Other StackOverflow questions regarding IMAP limits seem to inquire specifically about email sending limits, which does not apply in my use case. I fully understand the quota limits Gmail has on sending emails and bandwidth as it is documented very well.