feat(admin): communications

Abierto
#1,965 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Tranquilo

Línea de trabajo

Start by reading the foundation issue #1956 and the existing material under docs/superpowers/specs/. Map the proposed worker adapter in packages/api/src/lib/email/ to the /admin/communications surface, users.marketing_consent, and audit_log requirements. Done requires an agreed provider, template strategy, and complete support for composition, audiences, scheduling, delivery history, suppression, consent, and audit traceability.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Summary

Email send capability for the admin app: newsletters, member notifications, event reminders, group announcements. Requires a transactional email provider decision.

Requirements

  • Brainstorming → spec under docs/superpowers/specs/.
  • Pick an email provider during brainstorm: Resend, Postmark, SendGrid, AWS SES, etc. Tradeoffs: cost at member volume (~3,700+), deliverability, bounce/complaint feedback, template management.
  • Worker-side send adapter (packages/api/src/lib/email/) abstracted from the provider so the choice is reversible.
  • Template management: stored as code in the repo (PR-reviewed) OR stored in DB (admin-editable). Decision part of brainstorm.
  • /admin/communications — composition surface, audience selector, send / schedule / preview, send history with delivery status.
  • Audience model: ad-hoc list (paste emails), saved segment ("all org members of tier X"), event-bound ("all attendees of event Y").
  • Suppression list integration: respect bounces, complaints, and member-level marketing-consent flag (users.marketing_consent).
  • Outbound email logged to audit_log for traceability ("who sent what to whom, when").

Context

Foundation must ship first (#1956). This subsystem unlocks event reminders (#1961), election notifications (#1964), and renewal nudges (#1959).

Implementation Notes

  • Volume-pricing math matters: at ~3,700 members × monthly newsletter, providers price differently across the inflection points.
  • Compliance: CAN-SPAM, GDPR if any EU members, plus respect marketing_consent. Audit needs to capture the consent state at send time.
Lenguaje dominante
HTML
Estrellas
33
Forks
107
Merge medio
14 h 6 min
PR fusionados (30 d)
19

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de USRSE/usrse.github.io

Todos los issues de USRSE/usrse.github.io

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.