How do I fill form elements via onblur events?
You just need to AJAXify the form. Take a look at this article for more info on Drupal AJAX forms. To actually look up the user info you can just use the user_load_by_mail() function (more info).