Update Register_using_already_existing_email.java

Generate email function.