email library

Classes

ContactFormMailer
A drop-in contact form email sender with retry logic and HTML formatting.
EmailAttachment
A single file attachment to include with an EmailMessage.
EmailEnqueued
Emitted when an email is added to the queue.
EmailFailure
The failure variant of EmailResult.
EmailFlushCompleted
Emitted when a queue flush completes.
EmailFlushStarted
Emitted when a queue flush begins.
EmailMessage
An immutable email message ready for delivery by an EmailProvider.
EmailProvider
The common interface all email providers must implement.
EmailQueue
An offline-resilient local queue for email messages.
EmailQueueEvent
An event emitted by EmailQueue describing queue activity.
EmailResult
The result of an email send attempt.
EmailSendFailed
Emitted when an email fails to send during a flush.
EmailSentFromQueue
Emitted when an email is sent successfully during a flush.
EmailService
The central email sending service.
EmailSuccess
The success variant of EmailResult.
QueuedEmail
A persisted record of an email waiting in the queue.
ResendProvider
Sends emails via the Resend API.
SendGridProvider
Sends emails via the SendGrid v3 Mail Send API.
SmtpProvider
Sends emails by posting to a backend relay endpoint that handles SMTP.
VerificationMailer
Sends OTP and verification-link emails with built-in HTML templates.

Enums

QueuedEmailStatus
The lifecycle status of a queued email.