There is a collapsible group (Group Collapsible email details shown in the screenshot below) which contains three input elements. This small form can be made visible if you prefer to have the user stay in the app in order to share something, instead of having the user click the Share by Email button and type their share message in an external email service.
How to set up
Edit the copy to clipboard input text's default value to be the unique code that the user will copy
Update the recipient email input, body message multiline input, and from input
Edit the send_email API workflow if needed
Add a workflow on the page to show Popup sharePopup
Set the collapsible invite by email group to be visible and update the workflows to send an email.