Send email containing text from input field on button click

Is there a way to send the text from the input fields to my email address upon button click? If so, what is the best way to go about doing this?

You can use an e-mail API for that! For example, if you are using Google Mail, then Gmail API is your choice.