Hi Paul,
In many years this has not come up. I am very sorry but no a workaround is not available, and I can't think of an easy way to put this in as my experience with other injection methods is limited...
Could you, perhaps, run a separate mail-enabled version of PHP on a per-domain basis?
Regards