This is vaguely related to T5791. Add a "REPOSITORY" header to audit emails so that they can be filtered in Gmail.
- Group Reviewers
- Maniphest Tasks
- T6897: Diffusion commit email notification does not specify branch
- Restricted Diffusion Commit
rPbe19b31a6444: Add repository to audit emails
Commented on an audit and used ./bin/mail show-outbound to inspect outbound email.
I think you need to use updateTransactionMailBody instead of buildApplicationTransactionMailBody.
The later one has a comment on it saying:
TODO: this is only used by Diffusion right now and everything is completely
faked since Diffusion doesn't use ApplicationTransactions yet. This should
get fleshed out as we have more use cases.
and i can't actually find where it is called...