import { MailAppShell } from "./mail-app-shell"
import type { Metadata } from "next"
import { suitePageMetadata, MAIL_INBOX_DOCUMENT_TITLE } from "@/lib/suite/page-metadata"

export const metadata: Metadata = suitePageMetadata({
  app: "mail",
  absoluteTitle: true,
  title: MAIL_INBOX_DOCUMENT_TITLE,
})

export default function MailLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return <MailAppShell>{children}</MailAppShell>
}
