It would be nice to use the Token module for all emails generated by the affiliate system, this would make the emails a lot more flexable and would unify the admin page.
A tutorial on getting started is here, http://drupal.org/node/307140
If you need a working example, you can take a look at the regcode module on d.o








Aidan,
The modules already provide their own token system. What would the benefits of integrating the Tokens (and introducing another dependency) be? Is it so that you can use hook_token_values to change the tokens?
Sincerely,
Leighton Whiting