title: How can I smartly redirect users who click on an email link, to my app or my mobile site?
body: <p>I have an app and a mobile site. I also send emails to my users. I would like the following to happen if my users open these emails on their mobile phones and click on a link:</p>
  
  <p>If a user has installed my app, then launch the app and open the relevant page inside it.</p>
  
  <p>If a user has NOT installed my app, then launch the browser and take him to the relevant page on my mobile site.</p>
  
  <p>I want this to happen seamlessly and automatically. I DON'T want to use the inbuilt android prompt as users end up choosing chrome (since it is the first option shown). How can I do this? Would ideally want solutions for both android &amp; ios.</p>