SAN FRANCISCO (Reuters) - Tens of thousands of Gmail accounts belonging to Iranian users have been targeted in an extensive hacking campaign in the weeks leading up to the country's closely watched presidential elections on Friday, Google Inc said on Wednesday.