To prevent that your user signs up with a wrong mail address you can either let the user type it twice into a form or use something like Mailcheck.
If you use this library and the user types in “me@gmal.com”, it will suggest “me@gmail.com” as a correct address.
https://github.com/mailcheck/mailcheck