check that secret and email are available