Just read and delete the first IMAP message until we get an error.
Just read and delete the first IMAP message until we get an error.

We used EXISTS as a hint to how many messages there will be to process,
but this number can change during the loop execution, so we have to
check for an error anyway, so we may as well use that as our exit
condition.

infinity0/flashproxy,glamrock/flashproxy,arlolra/flashproxy,glamrock/flashproxy,arlolra/flashproxy,infinity0/flashproxy,glamrock/flashproxy,glamrock/flashproxy,infinity0/flashproxy,arlolra/flashproxy,arlolra/flashproxy,arlolra/flashproxy,infinity0/flashproxy,infinity0/flashproxy,glamrock/flashproxy,glamrock/flashproxy,infinity0/flashproxy,arlolra/flashproxy,arlolra/flashproxy