           queue.next()
       =>
         JPasswordRecovery = require '../passwordrecovery'
-        JPasswordRecovery.create client, {email}, (err)->
+        JPasswordRecovery.create client, {email: user.email}, (err)->
           queue.next()
       ->
         JAccount.emit "AccountRegistered", account, referrer


    newToken  = null
    invite    = null

    queue = [
      =>

          @fetchUser client, (err,user)->
            account = client.connection.delegate
            user.changeEmail account, options, callback
            if account.status is 'registered'
              # don't send an email when guests change their emails, which we
              # need to allow for the pricing workflow. 
              sendChangeEmail user.email, "email"

  @emailAvailable = (email, callback)->
    @count {email}, (err, count)->
