remove log, move email to environment variable