IMAP parsing workarounds for Yandex.