get device email working
parameterize email parameters for heroku