I want to write an email to my teacher. I have good relations with the teacher - albeit professional.

Can I say Дорогая firstname patronymic ?

I don't want to sound too personal/affectionate....