fix url for emails (fixes #138)