/** True for in-app Mail routes (`/mail`, `/mail/...`, `/demo/mail/...`). */
export function isMailAppPath(pathname: string): boolean {
  return (
    pathname === "/mail" ||
    pathname.startsWith("/mail/") ||
    pathname === "/demo/mail" ||
    pathname.startsWith("/demo/mail/")
  )
}
