Modified the ImapEngine to keep track of the current server URI