So I am not sure what is wrong with the pushingbox.com code. I just tried it and it sent me emails until I stopped it. May sure you cut and paste the devid so that it is correct.
Was there anything special you had to do to make the twitter code work? One of the disadvantages of twitter is that you cannot send the same tweet over and over.
Spark.publish() is a new feature that was just announced–you can read a tutorial about it here: