BP requires this, because otherwise it would get complicated, both from a code and from a usability standpoint. While you can send an email without a subject, it’s not considered best practice.
The code won’t allow you to send a message without a subject, so I would go with r-a-y’s suggestion.