generate multipart replies