fix for passing emails as urls
Merge branch 'rebr' of https://github.com/dfritsch/rest into rebr