Adding a strtoupper() call to make sure that charsets are passed to the imap