Hi, I don't believe this syntax is available. You should be able to utilise the events that the component fires to inject custom mail variables. Or you could extend CustomForms component with your own class and override it that way.
Alternatively, you could always open a PR to add such feature