     else
       callback new KodingError 'Access denied'
 
+  @fetchEmailsByUsername = permit 'grant permissions',
+    success: (client, usernames = [], callback) ->
+      return callback null, []  unless usernames.length
+
+      selector = { username: { $in: usernames } }
+      options  = { email: 1, username: 1 }
+
+      JUser = require './user'
+      JUser.someData selector, options, (err, cursor) ->
+        return callback err  if err
+
+        cursor.toArray (err, list) ->
+          return callback err  if err
+
+          data = {}
+
+          for item in list
+            { email, username } = item
+            data[username] = email
+
+          callback null, data
+
   fetchDecoratedPaymentMethods: (callback) ->
     JPaymentMethod = require './payment/method'
     @fetchPaymentMethods (err, paymentMethods) ->

        verifyEmailByUsername:
          (signature String, Function)
        fetchBlockedUsers:
          (signature Object, Function)

      instance:


      user.update $set: twofactorkey: key, (err) ->
        callback err
