Passed to renderDigestEmail by digest-service.ts. Each section is
null when it has nothing to show, and is left out; the service sends
nothing when all of them are.
from: Date
The period covered, from from to to.
to: Date
reader: string
activity: { counts: Partial<Record<ActivityKind, number>>; highlights: DigestHighlight[]; total: number; }
| null
Weekly only.
network: { dumps: DigestDump[]; more: number; } | null
Weekly only.
top: DigestDump[]
community: { members: { username: string; invitedBy: string | null; }[]; membersMore: number; playlists: { title: string; url: string; owner: string; dumps: number; }[]; playlistsMore: number; chatMessages: number; totals: { dumps: number; upvotes: number; comments: number; }; }
| null
links: { notifications: string; followed: string; chat: string; community: string; settings: string; unsubscribe: string; }