This is broken. Now you have $Body and $PlainBody. $Body is not used at all, and $PlainBody is empty if RichText is not enabled, so in this case it fails.