There are two ways I have found.
1. Use Dynamic Properties task to reset a value in the sendmail task based on a query, global variable, etc.
2. Use an Active X script to "transform" the task in the same manner.
Both of these do the same thing. #1 is easier, #2 is more flexible.