MailQueueGate
Corex\Email\Queue\MailQueueGate · class · Add-ons layer
The pure decision to queue a mail instead of sending it immediately: queue only when a queue backend is available AND the mail_queue feature flag is on. Keeping it in one testable method makes the “never a hard dependency on Action Scheduler” guarantee explicit — availability is passed in, not detected here.