Welcome to the forum, Ravend and congratulations on giving your first question a great title.
The past perfect ('I had prepared') is unsuitable here.
You should say
'I have prepared the questionnaire and have attached it to this email.'
- For Teachers