How say thank you in mail

Here are some ways to say "thank you" in a mail:

Formal

Informal

In a business setting

In a gift-giving context

Remember to always be sincere and specific when expressing gratitude in a mail.