fix email sender all flow

This commit is contained in:
2026-05-20 15:25:32 +07:00
parent 306396ae43
commit cb03967deb
20 changed files with 1450 additions and 62 deletions
+4
View File
@@ -475,6 +475,10 @@ model EmailSent {
to String
template String
subject String
/// Body HTML email yang dikirim — disimpan supaya admin bisa resend (PR-E5)
/// & investigasi isi email. Nullable: row lama (sebelum kolom ini ada) tidak
/// punya body sehingga tidak bisa di-resend.
html String?
/// ID dari Resend (atau provider lain) untuk troubleshooting di dashboard mereka.
providerMessageId String?
sentAt DateTime @default(now())