| created_at |
timestamp with time zone |
now() |
false |
|
|
Timestamp when the record was created. |
| deleted_at |
timestamp with time zone |
|
true |
|
|
Timestamp when the record was deleted. If null, the record is not deleted. |
| email_template_id |
uuid |
|
false |
|
public.email_templates |
The email template that is being sent in this email delivery. |
| first_failed_at |
timestamp with time zone |
|
true |
|
|
Timestamp of the first failed delivery attempt for this email, used as the retry window anchor. |
| id |
uuid |
uuid_generate_v4() |
false |
public.email_delivery_errors |
|
A unique, stable identifier for the record. |
| last_attempt_at |
timestamp with time zone |
|
true |
|
|
Timestamp of the most recent delivery attempt for this email. |
| next_retry_at |
timestamp with time zone |
|
true |
|
|
Next scheduled time when this email delivery will be retried, or NULL when no retry is scheduled. |
| retry_count |
integer |
0 |
false |
|
|
Number of failed delivery attempts recorded so far for this email. |
| retryable |
boolean |
true |
false |
|
|
Indicates whether this email delivery is still eligible for further retry attempts. |
| sent |
boolean |
false |
false |
|
|
Whether the email was sent or not. If false, a background daemon will try to send this email message. |
| updated_at |
timestamp with time zone |
now() |
false |
|
|
Timestamp when the record was last updated. The field is updated automatically by the set_timestamp trigger. |
| user_id |
uuid |
|
false |
|
public.users |
The user to whom the email should be sent to. If the email template contains dynamic portions with user-specific information (like a grade from a course) this user_id will be used to derive the information. |