Correct way to use href mailto links in app?

I have been trying to get some mailto links to work within my app so that they pop open the device email client and allow for you to start an email.

Do I need to use the InAppBrowser for this, or is there something out of the box that needs to be configured for the app to see the mailto link as safe?

Thanks for any input!

are you using Cordova or Capacitor?