lovelysystems/robotframework-imaplibrary — pull request #16 by martinhill (2014-01-13 21:34:50+00:00)
Title: Raise exception if imap.search returns typ != 'OK' in _check_email

I had difficulty debugging errors caused by bad inputs to Wait For Mail. It's better to throw an exception when the IMAP server responds with an error.

Exception message includes returned data and input cirterion in
exception for debugging.