Re implemented the server side imap command system so it's now using a queueing system