code: def send_email(
      to: list[str] | str,
      subject: str,
      html_content: str,
      files: list | None = None,
      cc: list[str] | str | None = None,
      bcc: list[str] | str | None = None,
      mime_subtype: str = "mixed",
      mime_charset: str = "utf-8",
      conn_id: str = "aws_default",
      from_email: str | None = None,
      custom_headers: dict[str, Any] | None = None,
      **kwargs,
  ) -> None:
      """Email backend for SES."""
      if from_email is None:
          raise RuntimeError(
              "The `from_email' configuration has to be set for the SES emailer."
          )
      hook = SesHook(aws_conn_id=conn_id)
      hook.send_email(
          mail_from=from_email,
          to=to,
          subject=subject,
          html_content=html_content,
          files=files,
          cc=cc,
          bcc=bcc,
          mime_subtype=mime_subtype,
          mime_charset=mime_charset,
          custom_headers=custom_headers,
      )
  
imports: from __future__ import annotations
  from typing import Any
  from airflow.providers.amazon.aws.hooks.ses import SesHook
label_desc: Use image node_id 1 for calling a global function with example usage: send_email(to, subject, html_content, files, cc, bcc, mime_subtype, mime_charset, conn_id, from_email, custom_headers) without return types