def METHOD_NAME(
    to: list[str],
    subject: str,
    txt_template: str,
    context: dict,
    html_template: Optional[str] = None,
    bcc: Optional[list[str]] = None,
    from_email: Optional[str] = None,
    connection=None,
) -> None:
    txt_message = loader.render_to_string(txt_template, context)
    mail = EmailMultiAlternatives(
        subject=f"[THALIA] {subject}",
        body=txt_message,
        to=to,
        bcc=bcc,
        from_email=from_email,
        connection=connection,
    )
    if html_template is not None:
        html_message = loader.render_to_string(html_template, context)
        mail.attach_alternative(html_message, "text/html")
    mail.send()