parameterize 'from' address for email

Found that in my case I need to be able to specify the from address used in the email (otherwise postfix won't forward it). I imagine others will need this as well.