PHP code in mail body - Rules In the Rules module, is it possible to write php code in mail body?
There is no input format beneath body text area.
If you are willing to use PHP, I suggest you create your own rule, using hook_action_info(). 

You have a good example in the Examples module.