Imap instance represents a single connection to the IMAP server.
You can't invoke any method on this object (apart for IdleStop) in parallel.
You can, of course, create several Imap instances (representing many connections to the server) and use them in parallel from different threads.