def METHOD_NAME(
    incident_id: int,
    executive_report: Report,
    db_session: SessionLocal,
):
    """Sends an executive report to the notifications group."""
    # we load the incident instance
    incident = incident_service.get(db_session=db_session, incident_id=incident_id)
    plugin = plugin_service.get_active_instance(
        db_session=db_session, project_id=incident.project.id, plugin_type="email"
    )
    if not plugin:
        log.warning("Executive report not sent. No email plugin enabled.")
        return
    notification_text = "Executive Report"
    plugin.instance.send(
        incident.notifications_group.email,
        notification_text,
        INCIDENT_EXECUTIVE_REPORT,
        MessageType.incident_executive_report,
        name=incident.name,
        title=incident.title,
        current_status=executive_report.details.get("current_status"),
        overview=executive_report.details.get("overview"),
        next_steps=executive_report.details.get("next_steps"),
        weblink=executive_report.document.weblink,
        notifications_group=incident.notifications_group.email,
        contact_fullname=incident.commander.individual.name,
        contact_weblink=incident.commander.individual.weblink,
    )
    log.debug(f"Executive report sent to notifications group {incident.notifications_group.email}.")