How to Insert Cc and Bcc Mail Headers, but only Conditionally!, in #Emacs message-mode https://christiantietze.de/posts/2025/05/insert-cc-and-bcc-mail-headers-conditionally-message-mode/
TLDR: `message-default-headers` accepts a function and you can use that to encode the condition.