mailto question

New to wix and not sure where else to check.
I have a ‘contact’ button. When user clicks on it, I want it to start an email. It works in the below code. However, I want the email address to be pulled from the email column in database collection. I can’t seem to find a way to do it. Thanks for any help!

import wixLocation from ‘wix-location’; $w.onReady( function () { $w(" #button3 ").onClick( function (){wixLocation.to(“mailto:ab@xyz.com?subject=stay at home!&body=hello”)})
})

If they are contacts only…
The CRM API contains functionality for working with your site’s contacts. The Users API contains functionality for working with users who are logged-in members. Note that all members are also contacts, but contacts are not necessarily members.
https://www.wix.com/corvid/reference/wix-crm.html#emailContact
https://www.wix.com/corvid/reference/wix-crm-backend.html#emailContact

If they are site members…
Using the emailUser() function of wix-users you can only send emails to the currently logged-in user. However, from the backend, using the emailUser() function of wix-users-backend you can send emails to any site member.
https://www.wix.com/corvid/reference/wix-users.html#emailUser
https://www.wix.com/corvid/reference/wix-users-backend.html#emailUser

Thanks for the reply. It’s very simple site for item swap and I don’t want users to have to sign up and login. It’s a simple page (in repeater). I have the ‘contact’ button that can be loaded from the email-address field within the database. When the site visitor clicks on the contact button, I want them to be then directly to the email-address. Thanks!