This is getting good, folks.

A Cook County judge has ordered Google to turn over Jussie Smollett’s emails, photos, location data and private messages for an entire year as part of the special prosecutor’s investigation into the purported attack on the actor.

Two sweeping search warrants, obtained by the Chicago Tribune, provide the first public glimpse at the direction of the probe by special prosecutor Dan Webb more than four months into the investigation.

The warrants, filed last month in Circuit Court, sought a trove of documentation from Smollett and his manager’s Google accounts — not just emails but also drafted and deleted messages; any files in their Google Drive cloud storage services; any Google Voice texts, calls and contacts; search and web browsing history; and location data.