🔍 Overview
BlockedByMailTrackerDomain is an audit log of domains reported by the external Mail Tracker script.
Records are created when Link Switcher receives a POST request from Mail Tracker. The actual blocking/switching logic is handled by Celery tasks.
📑 Fields
| Field | Type | Description |
|---|---|---|
domain | str | Blocked domain (as received from Mail Tracker). |
account | str | Related Google account email (optional). |
added_at | datetime | When the record was added. |
🧩 Methods
| Method | Description |
|---|---|
import_domains(domains, account) | Bulk-creates records for the provided domains list. |