added moving mail to leafs mechanism