var userID;

function checkUserInDatabase(authData){
	userID = authData.google.id;
	var usersDatabase = new Firebase("https://tinderpreneurship.firebaseio.com/users/" + userID);
	usersDatabase.set({
		uid: userID,
		name: authData.google.displayName
	});
}

function googleLogin(){
	var ref = new Firebase("https://tinderpreneurship.firebaseio.com");
	ref.authWithOAuthPopup('google', function(error, authData){
		if(error){
			console.log(error);
		}
		else{
			console.log(authData);
			checkUserInDatabase(authData);
			console.log(authData.google.email);
			console.log(authData.getProviderData().get('email'));
		}
	});
}
@@ -242,16 +242,48 @@
 playName
+,%0A%09%09email: authData.google.email
 %0A%09%7D);%0A%7D%0A
@@ -544,24 +544,26 @@
 thData);%0A%09%09%09
+//
 console.log(
@@ -592,66 +592,33 @@
 ;%0A%09%09
-%09console.log(authData.getProviderData().get('email'));%0A%09%09%7D
+%7D%0A%09%7D,%0A%09%7B%0A%09%09scope: %22email%22
 %0A%09%7D)

Edit permissions to pull email address