Can I set my iPhone app to run when a user opens an e-mail attachment?
<p>Is there any way to run my app when the user taps on an e-mail attachment, so I can access the attached file?</p>

<p>What I want to do is implement some kind of backup / restore for app data:</p>

<ol>
<li>The user sends an e-mail with an attached data file that has a special extension (I will be using the new iPhone 3.0 message composer class)</li>
<li>If the user loses his data, they will be able to go to their e-mail box and open the last e-mail they sent with the app data file</li>
<li>Then they simply tap on the attached file, which causes my app to run and restore from that file</li>
</ol>

<p>Is it technically possible to perform the last step?</p>

<p>Thanks</p>
