Failing to preserve mangrove forests could cause sizeable carbon emissions.