async.apply(getAllInbox, imap)
https://github.com/caolan/async#apply