in regard to tense
“ I found in the below email you had mentioned the number of the pallet is 2 , but in the yesterday's email you had only ordered 1 pallet ,so I want to confirm with you again how many pallets you need us to produce this time ”
in the above sentence I want to know whether I have used the correct tense . does it is correct I write these verb of " mention " and " order " in the past perfect . if I have other mistakes , please help me to point them out .