A library for simulating ext-imap dependency