We use Past Perfect with report verbs and with hope, intend, expect, etc. to talk about plans that have not yet been fulfilled.
Had is usually stressed in speech with this use:
- I had hoped to talk to him but he was too busy to listen.
- I had thought of phoning him but decided against it.