getEmail method