Reliable multipurpose text message gateway