"Thank you, name variable, for doing x". The name in this type of sentence is separated from the base text block by commas. It's a really common mistake, funnily enough - I usually see it in droves in non-ESL works.