For GNOME2:

If you use nothing but default browser, simply install gnome-gmail (it’s in Fedora).
If not, thing is a bit harder, as Gnome only fill %s when it’s stand-alone, (i.e. url %s is valid while url=%s isn’t’).

So you need some small script (assume it’s called gmail-chrome.sh) like: