build message based on metaOnly config