@startuml admin_email_template_get_route_before
title Before - Admin Email Template API Surface

skinparam backgroundColor White
skinparam defaultFontColor Black
skinparam ArrowColor Black
skinparam componentStyle rectangle
skinparam shadowing false

actor "Admin Operator" as Admin #EAF3FF
component "AdminPlugin\n(crates/api/src/plugins/admin/mod.rs)" as AdminPlugin #D5E8D4
component "Email Template Routes" as Routes #FFE6CC
component "DatabaseAdapter\n(email_templates table)" as DB #DAE8FC

Admin --> AdminPlugin : requests
AdminPlugin --> Routes : dispatch
Routes --> DB : create/list/update/delete

note right of Routes
Available endpoints:
- POST /admin/email-template/create
- GET  /admin/email-template/list
- POST /admin/email-template/update
- POST /admin/email-template/delete

Missing:
- GET /admin/email-template/get
end note

@enduml
