I recommend filing an issue on the Android app. The value entered there can automatically trim trailing white space. I don’t think any authentication system allows trailing white space in a user name and it’s certainly not allowed in an email address. So I think this problem can be avoided in the app itself.