fix error email url params
Merge pull request #4353 from dimagi/urlfix

fix error email url params