Send Email to Friend GraphQL Mutation used to send emails to a specific recipient with product details and your message.
By Default Email to Friend Setting is disabled and you want to try to run mutation, the response will throw an error, “Email to a Friend” is not enabled.
For functionality to works well, You must activate settings from the admin configuration,
Stores > Configuration > Catalog > Email to a friend > Enabled Yes
Save Config.
