Although there is no hard and fast rule of being a grammar nazi while writing a thank you note. But when you are sending it to your teacher, writing flawless sentences is mandatory. It gives them the beautiful thoughts that they are successful in making you learn things.