Email Validation in Auth0 Lock Form

I’m trying to trim whitespace from a user’s email upon signing in. Currently the auth0 lock interface is setup and being run in a login html file and I’m wondering how I might go about trimming whitespace from the user’s email as it’s being entered. Currently, our application has a bug where a trailing whitespace doesn’t redirect the user to our Azure login because it’s not recognizing the email address. Is there any way to target the email input element on the Auth0 Lock interface?

Bump. Anyone have any ideas or workarounds?