AppendRtItem gives an error because you have to create an item before you can append to it.
Try the CopyItem method instead. This will preserve both the formatting and the attachment. It’s possible that you will lose any non-default font selections (fonts not called Default Something). If so, try copying over the $Fonts item also.