use axum::{ extract::{Path, State}, response::Html, routing::get, Router, }; use std::sync::Arc; use uuid::Uuid; use crate::core::shared::state::AppState; pub async fn handle_email_inbox_page(State(_state): State>) -> Html { let html = r#" Email Inbox

Mail

đŸ“Ĩ Inbox 0 ⭐ Starred 📤 Sent 📝 Drafts 0 📁 Archive đŸšĢ Spam đŸ—‘ī¸ Trash

Your inbox is empty

Emails you receive will appear here

0 emails
"#; Html(html.to_string()) } pub async fn handle_email_detail_page( State(_state): State>, Path(email_id): Path, ) -> Html { let html = format!( r#" Email
← Back to Inbox

Loading...

?
Loading...

Loading email content...

📎 Attachments
"# ); Html(html) } pub async fn handle_email_compose_page(State(_state): State>) -> Html { let html = r#" Compose Email
← Back to Inbox

New Message

"#; Html(html.to_string()) } pub fn configure_email_ui_routes() -> Router> { Router::new() .route("/suite/email", get(handle_email_inbox_page)) .route("/suite/email/compose", get(handle_email_compose_page)) .route("/suite/email/:id", get(handle_email_detail_page)) }