Added the emails array to the mergeUsersWith method