Had the same issue with my parents IPAD2
Found that gmail seems to lock the account if it is accessed to frequently via the IMAP client.
Had to got to gmail\captcha to unlock account
now all ok
question
how do you increase the polling time for the mail app via IMAP?
Cheers