I'm working on a React app and I want to create a button that links to https://mail.google.com/mail/u/0/#inbox?compose=
where the new composition mail already has a recipient attached.
Since mailto:
already does this, I want to find a way to make the mailto
use gmail in a new browser tab with the target="_blank"
tag inside the same linked element so that the UX is for the user to just get directed to gmail on their browser with a preset recipient in a new composition mail...
The problem I have is that mailto:
uses the user's own default mailing app/whatever they set it to.
Since the system I'm working on only operates with gmail accounts that are already in a private database, I'm not too concerned with security. Just want a way to get a preset recipient through a new tab opened in gmail. Is there any good way of doing this?