Would be better solved with a user-agent implementation I think. Let local apps and webmails advertise support for mailto links, make the user-agent display a dialog and let the user pick one.
We're almost there, the only issue is that there's no declarative way to advertise support for mailto links, webmails need to ask the user.