Making an Led blink when a new event is published

I want to make the blue led (D7) on the Photon blink when a new event called new-email is published.

I moved a post to an existing topic: Using Spark.publish

Considering the fact that this is essentially the same question, I see no need in having two topics for it.

This topic was automatically closed 119 minutes after the last reply. New replies are no longer allowed.