Sharing files using email

i am using the mail app built into Nextcloud. I believe there is also email and roundcube mail.
When i go to share a folder via email, it opens up email on my pc ( iguess which it would on other websites) but not the client installed.
Why canโ€™t nextcloud detect and email account and use it or give the option to do so.
I do not have an email client on my pc nor do i want one, but this would be great to simply use the built in app.

Isnt that why we have it?