import React from "react";
import { Mail, Users, Zap, Send, Clock, ShieldCheck } from "lucide-react";
import { GuideItem } from "@/components/shared/GuideItem";
import type { HelpContent } from "./types";
/** Help content for /dashboard/supervisor/email-attendees. */
export const supervisorEmailAttendeesHelpContent: HelpContent = {
title: "Emailing attendees",
subtitle: "Reach attendees by event, or send a one-off broadcast.",
tabs: [
{
key: "attendees",
label: "Attendees",
icon: Users,
content: (
Pick an event and a template (Custom, Payment reminder, Event reminder, or Tickets-with-attachments), then edit the subject and body. Placeholders like {"{{name}}"}, {"{{event.title}}"}, {"{{balance}}"}, and {"{{payment.link}}"} are filled in per recipient.
Recipients are pre-selected by their notification preference and payment-status filter — a warning shows if you select someone whose preference doesn't match email.
Preview the recipient list before sending, send immediately, or pick a future date and time.
An Event update is about the event they registered for and goes to everyone selected. News & announcements (promoting events) only goes to people who opted in, and gets an unsubscribe link — the preview says how many were skipped. The next-event promo automation is always news.
),
},
{
key: "automation",
label: "Automations & Broadcasts",
icon: Zap,
content: (
Four canned lifecycle emails per event — a pre-event reminder, a final reminder, a thank-you, and a next-event promo — with send times auto-computed from the event's dates.
Send to any selected users or pasted external addresses, independent of a specific event's attendee list. Broadcasts are News & announcements unless you choose Event update.
Review, edit, or cancel any email that's scheduled but not yet sent.
),
},
],
};