def METHOD_NAME(component, emails):
    if not emails:
        return None
    return {
        "event": "component_notification",
        "emails": emails,
        "component_id": str(component["id"]),
        "component_name": component["name"],
        "topic_name": component["topic_name"],
        "topic_id": str(component["topic_id"]),
        "status": "new",
    }