As it has been pointed out in the comments already, it is not possible to do anything within the email itself, as this has been compiled at send-time - not knowing about the device on which the email will be opened.
I have built similar solutions before, where I have used following approach:
- Two versions of the website, e.g.: responsive.example.com and desktop.example.com
- A redirect page, built in e.g. PHP, detecting the user-agent, and redirects to either responsive or desktop within milliseconds
- A link in your email, pointing to #2
Ensure, that the redirect built in #2 keeps all the request parameters from the original link in email. Hence you will maintain e.g. utm parameters all the way to your final destination. You can use e.g. http://www.apachemobilefilter.org/ as a basis for detecting and redirecting.