Add batch script to retrieve user emails