import { EmailDetailView } from "../../../components/email-detail-view";

type MyEmailDetailPageProps = {
  params: Promise<{
    emailId: string;
  }>;
};

export default async function MyEmailDetailPage({ params }: MyEmailDetailPageProps) {
  const resolved = await params;
  return <EmailDetailView mode="user" emailId={resolved.emailId} />;
}
