I issue creates to setMailboxes like this:
{ x: { name: "foo" }, y: { name: "bar", parentId: "#x" } }
...and I get inconsistent results. I feel fairly certain that this is an ordering issue. If it tries to create y first, it fails because #x can't be resolved.