Old school etiquette will always say send a thank you in the mail. An emailed thank you would possibly be appropriate only if sent to a very young doctor who has "grown up" with the web and even then I think you should still mail it. I think a hard-copy card will always be appreciated more than an e-card that will be deleted and forgotten almost immediately.