Mailto Clipboard implementation

Hey guys!

I stumbled upon this projects that allow any mailto button to become a copy-to-clipboard button.

Do you know if any of these can be implemented on a normal button in Webflow? Any ideas on how to approach it? I am no JS expert but I am willing to dive deep into this.