🔍 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

FieldTypeDescription
domainstrBlocked domain (as received from Mail Tracker).
accountstrRelated Google account email (optional).
added_atdatetimeWhen the record was added.

🧩 Methods

MethodDescription
import_domains(domains, account)Bulk-creates records for the provided domains list.

💡 Where used