What began as an ordinary clerical mistake quickly became one of the most hilariously disruptive events to sweep across the United States Marine Corps in recent memory — and it ended with a surprise worthy of Marine Corps legend.

The saga began back in April when Marine Cpl. Andrew Hundley, a cyberspace warfare operator, completed the standard corporal’s course — a milestone that Marines routinely complete as they rise through the ranks.

As part of wrapping up the course, someone needed to send Hundley’s training certificate via email — a simple, mundane task. But as fate would have it, this minor responsibility turned into a major snafu.

Instead of addressing the email to the appropriate individual or unit, the sender selected a Marine Corps-wide distribution list — blasting Hundley’s course certificate to hundreds, possibly thousands, of inboxes worldwide.

Here's What They're Not Telling You About Your Retirement

The resulting chaos? A tidal wave of reply-all emails from confused, irritated, and bemused Marines across the globe — many pleading to be removed from the email chain. In a digital domino effect, each reply triggered more replies, which triggered still more replies.

It was a full-scale inbox meltdown that didn’t spare anyone — not even the Sergeant Major of the Marine Corps himself, Carlos A. Ruiz.

The accidental chain reaction became such a phenomenon that an online petition was soon launched urging Marine Corps Commandant Gen. Eric Smith to attend Hundley’s graduation. Though the petition was taken down after garnering nearly 1,700 signatures, the humorous groundswell had done its work.

On Thursday, during the graduation ceremony of the 8th Communication Battalion’s Corporals Course at Camp Lejeune, North Carolina, none other than Sergeant Major Ruiz showed up in person to commemorate the now-legendary mishap.

This Could Be the Most Important Video Gun Owners Watch All Year

Following recent reports that Congress is considering a nationwide voter ID requirement for federal elections, do you support requiring voters to show identification before casting a ballot?

By completing the poll, you agree to receive emails from Common Defense, occasional offers from our partners and that you've read and agree to our privacy policy and legal statement.

“The Marine Corps gods have called upon me,” Ruiz told the gathered Marines, referencing the notorious email storm.

“All of them assembled at Marine Corps Barracks, Washington, D.C., they were pulling toes in the middle of the night. They were doing crazy stuff. They were setting up a schedule, and the schedule somehow ended up with – where you at, Hundley, raise your hand.”

As laughter rippled through the audience, Hundley raised his hand, a sheepish grin likely accompanying his gesture. The other Marines responded with applause, fully aware of the digital disaster turned internet folklore.

Ruiz recounted the moment that started it all — “an unintentional, so innocent email that went to everyone.” When he asked the crowd, “All of you got it,” the room echoed with knowing, amused affirmations.

“And then the beautiful people who Replied-All,” Ruiz continued. “And then the people who said ‘stop Replying-All’ to Reply-All.”

The Sergeant Major noted that during his travels to various bases in the days following the incident, the inbox disaster was all anyone wanted to talk about. Marines didn’t bring up their barracks or routine concerns — they only wanted to discuss one thing.

“It’s ‘Cpl. Hundley!’” Ruiz said with a dramatic flourish. “That’s all I could hear about for two days, and that’s why the gods have called me to see you graduate.”

Speaking after the ceremony, Hundley admitted he had heard rumors that Ruiz might attend but didn’t believe it would actually happen.

“It was an amazing surprise,” he said. “I assumed the Sergeant Major of the Marine Corps was far too busy to fit the graduation in his schedule.”

Hundley reflected on the moment when Ruiz asked him to raise his hand in front of everyone. “It was a huge mix of emotions there,” he said.

“I was shocked, to say the least, and in the best way possible to say I was a little embarrassed, I guess. But also it was a pretty amazing feeling just to get recognized by him.”

Despite the initial stress of the situation, Hundley says he’s since come to enjoy the memes that have emerged from the incident.

And in a show of Marine honor and loyalty, he made it a point to clear up any confusion surrounding the original email — clarifying that his staff sergeant, who some had blamed online, was not the one who sent the infamous message.

While the "Reply-All-pocalypse" may go down as one of the most comical and viral misfires in Marine Corps history, it also resulted in a feel-good moment: a corporal unexpectedly celebrated by the Corps’ highest enlisted Marine leader.

Bravo Zulu, Cpl. Hundley. May your service be long, your bandwidth unburdened, and your inbox forever free of accidental reply-all storms.

Warning: Account balances and purchasing power no longer tell the same story. Know in 2 minutes if your retirement is working for you.