Allow `undisclosed-recipients:;` as a valid "To" value for Email/Newsletter agents
Is your feature request related to a problem?
When using BCC-only recipients for a Newsletter or Email notification agent (leaving to empty), some receiving mail servers reject the message outright because the resulting To: header is empty, which violates RFC 5322 §3.4 (a To: header field, if present, must contain a valid address or address-group).
GMX in particular enforces this strictly and bounces with 554 Reject due to policy restrictions, referencing RFC 5322 and RFC 2047 explicitly: https://postmaster.gmx.net/en/case?c=r0735
Other providers (Gmail, iCloud) accept the empty header without complaint, but that doesn't make it spec-compliant — GMX is just enforcing the RFC correctly.
What is your feature request?
Add undisclosed-recipients:; as a selectable/enterable option in the To field for Email notification agents and Newsletter email configs. This is the standard RFC 5322 mechanism for a BCC-only send with a syntactically valid but empty To: header (an empty address group).
Ideally it would appear as a normal option in the To selectize field (similar to how normal addresses are entered), so users don't need to fight the UI's implicit email-format validation to set it.
Are there any workarounds?
Yes — it's possible to set it today via the API (set_notifier_config / set_newsletter_config, passing email_to=undisclosed-recipients:; / newsletter_email_to=...), since the API bypasses the frontend's email-format validation on the To field.
But this isn't discoverable or usable from the Web UI, and requires knowing the internal config structure. A proper UI option (or at least allowing this value client-side) would make it accessible to non-API users.
Additional Context
Full bounce reference from GMX (explains the RFC violation clearly): https://postmaster.gmx.net/en/case?c=r0735
Relevant RFC section: https://datatracker.ietf.org/doc/html/rfc5322#section-3.4
Note: this report was drafted with AI assistance, but the root cause, the API workaround, and the fix were all identified and manually tested by me against a live Tautulli instance before writing this up.
Source: Tautulli/Tautulli