Allow for text messages to be emailed or sent to a PC in the event that a phone has been broken to ensure that no communication has been lost during hardware repair or replacement. Get them to log in and request service.
There are plenty of apps that offer this type of service. The issue is that you cannot add the app if the phone does not work. The code is already written it just needs to be adapted to the circumstance above. In my case I tried to download the app and was successful however because my screen is blacked out I cannot confirm it.