`var recurseMailCb = mailCb` does the trick, no?