class EmailNotifier extends AbstractNotifier {

    @Value("${spring.mail.username}")
    private String sendFrom;

    @Value("${spring.mail.title:ThreadPool Notify}")
    private String title;

    @Resource
    private JavaMailSender javaMailSender;

    @Resource
    private TemplateEngine templateEngine;

    @Override
    public String platform() {
        return NotifyPlatformEnum.EMAIL.name().toLowerCase();
    }

    @SneakyThrows
    @Override
    protected void send0(NotifyPlatform platform, String content) {<FILL_FUNCTION_BODY>}

    public String processTemplateContent(String template, Context context) {
        return templateEngine.process(template, context);
    }

}

        MimeMessage mimeMessage = javaMailSender.createMimeMessage();
        MimeMessageHelper messageHelper = new MimeMessageHelper(mimeMessage, true, "UTF-8");
        messageHelper.setSubject(title);
        messageHelper.setFrom(sendFrom);
        messageHelper.setTo(platform.getReceivers());
        messageHelper.setSentDate(new Date());
        messageHelper.setText(content, true);
        javaMailSender.send(mimeMessage);
        log.info("DynamicTp notify, {} send success.", platform());
    
<methods>public non-sealed void <init>() ,public final void send(org.dromara.dynamictp.common.entity.NotifyPlatform, java.lang.String) <variables>