I'm experiencing the same problem.
There's a linefeed/newline being inserted at the beginning of theContent. This creates the ">" when sent.
set content of newMessage to theContent
macOS 15.2 (24C101), Mail16.0 (3826.300.87.4.3)
Topic:
App & System Services
SubTopic:
Core OS
Tags: