+
+
Mailbox
+ {inbox && (
+
+ {inbox.status === "accepted" ? "naruon" : `naruon · ${inbox.status_reason ?? "unavailable"}`}
+
+ )}
+
+ {error && {error}
}
+ {inbox === null && !error && Loading mailbox...
}
+ {inbox && inbox.status === "unavailable" && (
+ Mailbox · naruon not available
+ )}
+ {inbox && inbox.status === "accepted" && inbox.threads.length === 0 && (
+ No mailbox threads from naruon.
+ )}
+ {inbox && inbox.threads.length > 0 && (
+
+ {inbox.threads.map((thread) => (
+ -
+ {thread.subject}
+ Mailbox · naruon
+ {thread.reply_count != null && (
+ {thread.reply_count} replies
+ )}
+
+ ))}
+
+ )}
+
+ );
+}
+
function CalendarPanel({
accessToken,
onSelectPost,
@@ -1690,6 +1738,7 @@ function PostList({ accessToken }: { accessToken: string }) {
return (
<>