Create AgentCode

This code should be used in as the Agent code in the Electric Imp server side code module.
You will need to have obtained a mail gun account and replace the following text in the code above with your own credentials.

1) Set the local to: Replace EMAIL@DOMAIN.COM with your email address.
2) Set the local apikey: Replace "key-YOUR_MAILGUN_KEYHERE" with your key obtained from mailgun.

This code is intended to be used with the Device code listed in this repository.