refactor message creation (conversations)