now the dev mode email param is only used when we dont have a token param