There are several occasions when sending a thank you email is appropriate:
After a job interview to thank the interviewer for their time and consideration. After receiving a business proposal or contract. Following a successful meeting with a client or partner. After receiving feedback or assistance from a colleague. To thank customers after a purchase or service.