Don't modify ImapCommands once they've been added to the queue

This doesn't actually affect anything right now, but in the future,
the ImapEngine may begin processing commands as soon as they're
added to the queue.