Fetching details from the dictionary...

thank you (for the meal just served); I receive (this meal)
それでは遠慮なく頂きますと言って食べ始めた。
Then I said 'itadakimasu' without hesitation and started eating.
お土産を頂きますとお礼を伝えました。
I expressed thanks saying I'll receive the souvenir.
頂きますと言ってから食事を始める習慣がある。
There's a custom of starting meals after saying itadakimasu.