The CEO of a Valley-based energy company has resigned after he offered to buy a Gilbert councilwoman’s vote.

The Gilbert Town Council rejected a contract with Green Global by a 4-3 vote last week.

On Monday, The Arizona Republic says Green Global CEO Mike Hoffman sent an e-mail asking Councilwoman Jenn Daniels to reconsider.

The newspaper says Hoffman offered Daniels campaign help in exchange for her vote on the company’s proposal to put solar panels on town streetlights.

The e-mail was sent to Daniels’ official town account, which is subject to public-records laws and regularly reviewed by The Republic.

Daniels didn’t respond to the email and reported it to Town Attorney Susan Goodwin.

Hoffman says he never meant to send it and decided to resign after the “terrible mistake.”