client: escape email address to fix regexp matching and backtick behaviour