Create a donation-type email template variant
Creates or returns a donation-type-specific automated email template. Ordinary variants clone the default; DAF grant, IRA / QCD and explicitly contextual DAF advisor acknowledgments start with source-specific content and remain turned off until reviewed. DAF advisor and Direct soft-credit uses share the soft_credit template. Requires the admin API auth middleware and user permission checks.
Authorizations
Body
Variant creation payload. The controller validates emailset_id, trigger, and donation_type, then scopes the lookup to the authenticated client.
Use giving_source=daf and recipient_role=soft_credit with donation_type=soft_credit to create a disabled DAF advisor thank-you starter. Existing rows are returned without rewriting and include source_template_setup_issue when still copied from Standard. Missing context preserves ordinary Direct clone behavior.