I used to have CiviCRM Inbound Email processing perfectly, but now it no longer works. Whenever the process is run, I get the following error:

Full message:
Finished execution of Process Inbound Emails with result: Failure, Error message: A fatal error was triggered: Could not connect to MailStore for [prefix]@[domain].org@imap.gmail.com
Error message:
An error occured while sending or receiving mail. The IMAP server did not accept the username and/or password: A0001 BAD Too many arguments provided 136-v6mb280518080wmm.

Please help me fix the config (or if the config is correct I'll set about debugging). The password is functioning perfectly (I emptied it before taking a screenshot of the config). How can I fix this?

You can connect to the account using the credentials via the gmail web interface

You don't have 2FA set up and that less secure apps are allowed for the account

If the above fails try activating the unlock captcha https://accounts.google.com/b/0/DisplayUnlockCaptcha then test logging in by triggering the scheduled job. You should notice the unlock captcha page change after the log in attempt has finished - you might need to trigger the job again after it's run to connect.