JMailQ includes a sample email injection plugin which will allow you to modify pretty much anything in the mail object as it is passing through your system. There are many reasons for doing this but those reasons will be specific to each site.