Add and remove accounts in mailbox tree

Currently, adding or removing an account cause all tree nodes to be
closed, regardless of whether they were open or closed before.  Adding
or removing an account should be a rare occurrence, though.