It looks like it's proposed to deprecate CRM_Activity_BAO_Activity::sendEmail in core
I don't think there's intended to be a publicly available replacement. See https://github.com/civicrm/civicrm-core/pull/21608.
As a last resort or short-term fix code could be copy/pasted.