If you are using Unix and you can configure you software to use local email addresses, then /etc/aliases is your friend.
Just list what you want to do with your destination email address:
thisname: /goes/to/file
thatname: "| goes to a program"
andthat: "|/bin/logger -p user.notice -t testmail" # goes to syslog