Creates spec for sending a message