Some mojo to make thunderbird like imap more.