My boss told me that I shouldn't have a period after the text:
Thank you for helping to build the new building.
She said that it is not a complete sentence.
English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. It only takes a minute to sign up.Sign up to join this community
The very first rule of punctuation is that every utterance must have a stop at the end of it, either a full stop, a question mark, an exclamation mark, or some other mark. No utterance is to be without a stop.
In that sense, whether what you wrote is a sentence or not is irrelevant to how it needs to be punctuated. It must have a full stop (period) at its end.
A "thank you" can be classified as an exclamation rather than as a sentence.
(There is a more exact term than "exclamation", but I'm omitting it because outside of grammar it has a meaning of a body function usually not discussed in public and may be mistakenly used by new learners of English to their embarrassment.)
In idiomatic English subjects and verbs are not necessary in an exclamation. Exclamations can be punctuated like sentences but do not necessarily follow the grammatical rules of sentences.
"Thank you" by itself makes sense without a specific subject. (For example, it makes perfect sense even when the speaker does not know if others are joining in the thanking.) So do "By your leave" and "Please." All are subject, in addition, to the first law of punctuation.
You were entirely correct and your boss was being overly cautious.
There are quite a few constructions that are idiomatic English that lack explicit subjects or verbs. Take for example:
Go the the store.
An imperative form. With an implicit "You" as the subject. (Yes, incomplete sentences.)
Congratulations on your promotion.
The was an implicit verb phrase: "are offered/given to you" following the subject in the preceding example.
These are prefectly acceptable English and should be considered complete sentences when transcribed.