Why did you remove the mail to feature? That is more handy than share.
Keep the 'mail to' feature
Could you please follow the steps in the below article to use the email icon to send PDF directly as email attachment.
Please let me know in case of any concerns.