The correct expression is “thank you to everyone.” In this context, “everyone” serves as a collective pronoun referring to all individuals. “Every one” would be used when emphasising individual elements, as in “thank you to every one of the participants.” The choice depends on the intended emphasis in your expression of gratitude.