Resilient communities and mangrove restoration