migrate Imap reference from 2.x to 3.x CompatInfo format