I've never done that with sendmail, but the way you do that in other e-mail servers is that you create a new account, and any e-mails that go to that account, are passed to a program (or a script, in your case). The program/script will process that e-mail and do whatever...Maybe this will help you figure out how to do it with sendmail? I don't have a sendmail manual so...HTH
Diego