imaplib.IMAP4.error: got more than 20480 bytes when configured A gmail account for a Frappe Project

I have configured one Gmail id for default inbox inside email Account list, I am geting an Error . When a new email is recieved in the email inbox.

Traceback (most recent call last):
  File "/usr/lib/python3.8/", line 1022, in _command_complete
    typ, data = self._get_tagged_response(tag, expect_bye=logout)
  File "/usr/lib/python3.8/", line 1148, in _get_tagged_response
  File "/usr/lib/python3.8/", line 1050, in _get_response
    resp = self._get_line()
  File "/usr/lib/python3.8/", line 1158, in _get_line
    line = self.readline()
  File "/usr/lib/python3.8/", line 316, in readline
    raise self.error("got more than %d bytes" % _MAXLINE)
imaplib.IMAP4.error: got more than 20480 bytes

versions that I use

erpnext 12.30.1
frappe 12.27.0
python 3.8

The mails coming to the configured mails inbox, The mail should be shown in the communication list inside the ‘Communication’ doctype , But its not coming in the list and an error coming in Error Log list Titled ‘pull_from_email_account’ Error