First thing that came to mind is the possibility of hitting any Google limits on IMAP... it might be something to look in to but may not necessarily be the cause...
https://support.google.com/a/answer/2751577
https://support.google.com/a/answer/1071518