I am automating sending about 400 SMS/iMessages using the Messages application. I expect some of the recipients to fail. Is there a way to log these failures? Messages itself displays a notification in Notification center when a message fails but it doesn’t seem to return that status to the script. Is there a workaround for this?