Google’s involvement in the Pentagon’s controversial Project Maven kicked up a storm within the company in recent months, prompting more than 3,000 employees to sign a letter in opposition and more than a dozen to resign. Despite the protests, internal emails obtained by the Intercept show that the Mountain View company planned to ramp up artificial intelligence research for military drones.

One September exchange between Google AI chief Fei-Fei Li, two members of Google’s defense and intelligence sales team, and members of the communications team, notes that Project Maven alone would net $15 million over the next 18 months, and as much as $250 million in the coming years. They also show that Google competed with Amazon to secure a vaunted slot on Project Maven and that the contract was “directly related” to a cloud computing contract worth billions of dollars.

The Intercept speculates that the computing contract is the Joint Enterprise Defense Infrastructure (JEDI), a 10-year, $10 billion initiative that seeks to migrate much of the U.S. military’s data to a commercial cloud provider. The exchanges reveal that the Pentagon was “fast-tracking” Google’s cloud clearance and that work was expected to progress fairly rapidly.

Internally, Google executives downplayed the impact of the Defense Department contract on the company’s bottom line. Google Cloud CEO Diane Greene told employees during an all-hands meeting that Project Maven was for “only” $9 million.

The conflicting narrative adds yet another wrinkle to Google’s ongoing struggle over ethical uses of AI.

Jeff Dean, who…