This brings us back to my post from a couple of months ago - see: http://community.pmail.com/forums/thread/8419.aspx
If the program cannot handle folders with the same name in the tray structure, it should not allow users to create them. It is a bit much to ask users to "know" that all your names are unique when you have hundreds.
... and now we return you to your previous program...