OK, I understand what you're trying to do, and it
certainly makes sense, but it doesn't help at all
to call it "sending mail to the script" since the
script (as it's running) is just a transient thing
in the memory of your web server; the script
doesn't have (nor can it have) an email address.
But you certainly can have your script retrieve
the email from a POP or IMAP email account
using the imap functions. And you'll certainly
want to set up a dedicated email account
for receiving the data.
Now, if the incoming data is in the body of the
email, you can just retrieve the message and
parse it. But if it's in the form of attachments,
you're going to have to figure out some way
to run it through a MIME decoder.