ImpOS code to send emails from the Electric Imp agent to mailgun. Includes device code example to send when pressing a button or using a motion sensor, ect.