RMS = Royal Mail Steamer (sometimes "Ship").
The designation meant the vessel was contracted by the British Post Office to carry mail — a lucrative, prestigious arrangement. Ships with RMS status had:
Titanic carried ~3,500 bags of mail (letters, parcels, registered items) between Southampton and New York. A dedicated postal crew of five clerks (three Americans, two Britons) sorted mail en route. All five died in the sinking.
The prefix signaled a ship of national importance — not just a passenger liner, but a vital communications artery of the British Empire.