Modified send_new_message and reply_to_message to return the new ids.