Email users in database

I am currently using a database to store information, one piece being the email associated with the user who submitted that information. I am aware of the emailUser() function in the wixUsers API, but it requires a userID instead of an email. Is there a way to email users based on the email address for the message to be sent instead of the userID of the current user?

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.