String email = email.getText().toString();
Please help getting error The method getText() is undefined for the type String
Assume the id of your EditText is email. To get the Text of the EditText you can use
String email = ((EditText)findViewById(R.id.email)).getText().toString();