Hi there,
It seems that there's an issue whenever before, after and to are used to filter emails. The response is Net::IMAP::BadResponseError: Could not parse command
Here's a sample code:
gmail = Gmail.new(email, password)
gmail.inbox.find(:unread) # this works
gmail.inbox.find(:unread, :before => Date.parse("2010-02-20")) # this doesn't
Maybe Gmail changed its parameters?
Thanks.