feat(email): include drafts in user exports
Export readable private draft content only through existing owner-filtered encrypted and daily export boundaries, with cross-tenant regression coverage.
This commit is contained in:
@@ -15,3 +15,15 @@ public sealed class EmailDraft
|
||||
public DateTime CreatedAtUtc { get; set; }
|
||||
public DateTime UpdatedAtUtc { get; set; }
|
||||
}
|
||||
|
||||
public sealed record EmailDraftExport(
|
||||
Guid Id,
|
||||
int JobApplicationId,
|
||||
string Provider,
|
||||
string To,
|
||||
string Subject,
|
||||
string BodyText,
|
||||
string? ThreadId,
|
||||
long Revision,
|
||||
DateTime CreatedAtUtc,
|
||||
DateTime UpdatedAtUtc);
|
||||
|
||||
Reference in New Issue
Block a user