From the Menu click Firefox > Options (Mac) or Tools > Options (PC)

Click the Applications tab, scroll down to Mailto, select Use Gmail from the drop-down list.