Define msg.topic in function node

A post was split to a new topic: Combine queries and send email