There is a typo in the exception message in the XF\Mail\Mailer::renderMailTemplate function: "Template mail:$name did not render to anything. It must provide either a text or HTML body." The template prefix must be email:.