Function of ておく in 伝えておきます


ておく basically means to do something in advance/preparation, and 伝えておきます seems
to be a common saying for "I will tell somebody", e.g.

> 素晴らしい披露宴だったと彼に伝えておきます。

I do not understand how does ておく here work, for I see nothing about "doing in
advance" in this sentence.




I think of ておく as putting an action into place so that it する's (does its
convenient effect) later. Additionally, you get it out of your mind. You
proactively do it and get it out of your way.

Maybe there is some effect her saying will do to her husband. Something like
making him take a certain decision, putting him into a good mood so that she
can X,Y,Z...

[Here](https://www.tofugu.com/japanese-grammar/teoku/) it is descibed as "to
do something for future convenience".

