Product launches are always designed to be as innovative as possible, capturing public attention days or weeks in advance. This builds anticipation and ensures that when the new product is released, there is significant public interest in its capabilities and features, or even its true nature, if it's a mysterious product about which little is known.
This is the general idea behind the email Amazon sent to Flex drivers, letting them know there's something special planned for midnight on July 31st. A secret that will be revealed at 2:00 AM that day, and Amazon is clearly keen to spread the word to build anticipation for July 31st. Amazon hasn't told Flex drivers what kind of product it is, which has only fueled speculation.
Amazon Flex drivers are contractors who deliver Amazon products in certain cities in the Americas and the UK; it's another option the company uses instead of more common carriers like USPS, UPS, and FedEx. It's worth noting that these drivers' delivery hours normally end at 12:30 a.m., so this would be the first time they've been extended until 2:30 a.m.
The secret product remains a mystery, though speculation suggests it might be a new Kindle device or the second-generation Echo Speaker. Another theory points to it being the new Harry Potter book, but as mentioned, it's a closely guarded secret.