If you open Gmail in Google Chrome, you'll see an infobar at the top of the page that asks if you 'allow Gmail to open all email links'.
A few months after Google Calendar added support for handling webcal: links in Chrome, Gmail can now become the default handler for mailto: links.