An Arduino motion sensor example that logs to MongoLab's REST API and to an email address.