remove imap_search with literals. Cannot be done properly without rewriting imaplib