It means: We could send/deliver a message to her. Without "to", the sentence would be ungrammatical.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
shatFor what do we use "to" in the following sentence:"We could get a message to her."?We use it to mark the recipient of the action of sending the message.