generate message scraffold