combine msgheader and msgbody into message