Code for the PulsePod SMS gateway service