got email and token with php