Replace deprecated t3lib_mail_message with TYPO3\CMS\Core\Mail\MailMessage