1. You use the pluperfect tense to describe an action in teh past that occurred before another action in the past.
2. To form it combine the imperfect tense of haber (había, habías, había, habíamos, habían) with the past participle (-ar=ado and -er/ir=ido)
Cuando llegué a la oficina el gerente ya había leído mis cartas