private File getDefaultEmailTemplateFile() throws IOException {
        val templateResource = ResourceUtils.getResourceFrom(properties.getText());
        return templateResource.getFile();
    }
Add parameter.

@param key    the key
@param object the object
@return the email message body builder
core/cas-server-core-notifications-api/src/main/java/org/apereo/cas/notifications/mail/EmailMessageBodyBuilder.java