Currently I have an Web Application that has the function to sends emails with the information that a new post was created and a link to that post.

My goal is when you open the link from a mobile device will redirect you to the mobile app if it is installed. If is not open the web version.

I was going to use a redirect page in web to mobile with a deeplink but if I do not have internet It will not work.

Is there any way to make it happen?

Ps: The idea was something like when you click on a facebook link you have the ability to open on the app or on the web

Hi, I can't think of any way but having two links in the email - one with a deep link and one regular web link.