# Messages

Abstract base entities for email messaging, covering both messages and their recipients. Mapped to `EmailMessage` and `EmailRecipient` database tables.

## Key Files

- **`AcEmailMessage.cs`** — Generic abstract class (`AcEmailMessage<TEmailRecipient>`) implementing `IAcEmailMessage`. Holds sender, context, subject, body text, email address, read status, and a list of recipients.
- **`AcEmailRecipient.cs`** — Generic abstract class (`AcEmailRecipient<TEmailMessage>`) implementing `IAcEmailRecipient`. Links a recipient to an email message via `EmailMessageId` with navigation back to the message entity.
