Several people have asked for another lesson about letter writing for the General Training test. Let's look at one of the questions from Cambridge IELTS book 10:
I would call this a "thank you" letter task. Before writing your letter, have a look at some "thank you" letters by searching online. There's a good example here.