imap: Update (fix issue #18).