No. Thanks a million is a very informal thing to say between friends. Although I would send it (thanks, not thank you, a million) in a work-releated e-mail, it would only be to someone I considered a friend as well as a coworker.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.