Max recommended salt intake is less than 1 teaspoon per day. You need 2 liters of water per day. There's nearly 6 teaspoons of salt in 1 liter of sea water. That's quite a bit of excess salt. Kind of a bummer really. Wish we had a gland that got rid of excess salt then we could just drink sea water.
We've got those - they're called kidneys. Unfortunately, they can't get the output dense enough to be useful for drinking saltwater...
(Maximum saltiness of urine is less than that of saltwater, which is why drinking saltwater dehydrates you)
“Animal metabolism produces about 110 grams of water per 100 grams of fat,[1] 42 grams of water per 100 g of protein and 60 grams of water per 100 g of carbohydrate. [...] In mammals, the water produced from metabolism of protein roughly equals the amount needed to excrete the urea which is a byproduct of the metabolism of protein.[6] Birds, however, excrete uric acid and can have a net gain of water from the metabolism of protein.“
If such a gland existed, it would probably require a lot of energy to work. Plus, what would the gland do with all of the salt it is filtering just send it to your kidneys/bladder? I'm imagining kidney-stones formed from all the excess salt your body is trying to get rid of
The mammalian equivalent would likely be salt hairs.