Likely the link will open whatever the default email client software is on the computer/device. So it's not really a problem with the pdf or the link that needs to be fixed, it's more an individual user/computer customization thing.

If you're using a browser to access gmail it looks like it might be possible to have it open gmail in the browser although I've not done it before. Try a google search for: mailto link open gmail