The lesson that you were studying points out that these partitive articles become de or d' in negative sentences. That is why "vous n'avez pas de lettres" is appropriate here.
Hope that this will help you to understand more clearly.
Sign in to submit your answer
Don't have an account yet? Join today
Test your French to the CEFR standard