A butler was a hired male servant who performed household tasks in another's home.
In 2269, Flint described M-4 as his "butler, housekeeper, gardener and guardian." (TOS: "Requiem for Methuselah")
In 2369, Beverly Crusher sought out Jean-Luc Picard to play the role of the butler in her play, Something for Breakfast. The role had only two lines. She thought he would be excellent for the role, although Picard was disappointed he was not considered for a leading role, even though he did not have the time to learn one. (TNG: "A Fistful of Datas")