Do you mean
Esme? If so,
Esme has been used in Scotland since the reign of the Stuarts in the 16th century. It was primarily a male name but is now used more as girls which, according to E.G.Withycombe, is probably to do with confusion with the name Ismay which is feminine.
According to Reaney and
Wilson, Underwood has been used as a surname since at least the 12th century.
HTH