Add function to send text messages