
MailtoUI is Mario Rodriguez’s open-source JavaScript library for contact links. It opens a small chooser so a visitor can pick their usual webmail service or desktop mail app, or copy the address to use later.
Try it on a test page. Load the JavaScript from a pinned release of the published package or host that version’s minified file. Add the mailtoui class to a normal mailto link. The chooser in version 1.0.3 offers Gmail, Outlook, Yahoo Mail, the default email app and a copy option. Keep the email address visible so visitors can copy it even if their browser blocks JavaScript. Try opening and closing the chooser by keyboard, and check the options people actually use before putting it on your site. Project setup and release notes
The old project domain now shows an unrelated conference. Version 1.0.3 still points there from the chooser’s credit link. Review that link on your test page before deploying the library. The author’s repository has the original code, license and setup instructions. The published npm package is still at version 1.0.3, dated September 2019. If you’re updating a contact page that already uses it, check the choices against today’s mail services before replacing anything. Author’s account of MailtoUI
