“Thankyou
Thank you as a phrase is two words. It is one word or hyphenated when it is a noun. Like as in "I offered him a thankyou."
BUT "Thank you, Mom" is correct.
ALSO: whenever you address someone, you need to have a comme before their name or name replacement, as I have demonstrated above. This is not happening anywhere

