How can I get the email address of a user who has just registered?
The docs on the core entities are really good. Here are the docs on the User class.

You should be able to get the email with:

$email = $account-&gt;getEmail();


And the created time with:

$created = $account-&gt;getCreatedTime();