Now it is possible to login with either the uid or email. See an example query inside app.json.example