Google has said it is “truly sorry” after an April Fools’ prank function it added to Gmail provoked a furious backlash from users.

The search giant uploaded a new button to emails on Friday morning which allowed users to send recipients an animated GIF of a Minion dropping a microphone and walking away.

But angry Gmail users said they had inadvertently hit the new ‘Mic Drop’ send feature, which was right next to the standard send button.

Some complained the messages had gone to their boss, colleagues, clients or prospective employers.

Gmail is offering the 'Undo Send' feature to all users

One Gmail forum user said the prank had cost them a job

“Have your engineers kill themselves,” wrote one forum user. “I sent that nonsense to a boss.

“You have any idea how embarrassing that is?”

One commenter said the function had cost them a job.

“I have been interviewing with this company for three months now and mistakenly sent the email directly to guess who? The HR!

“Why would you do that? I so want this job; was due to start on Monday!”

Making matters worse, the prank function meant that people who sent the ‘Mic Drop’ email would not see any replies from the recipient.

Google had explained via its blog: “Yes, even if folks try to respond, you won’t see it.”

Others complained they didn’t see important messages sent in reply to their accidental ‘Mic Drop’ emails.

One Gmail forum user wrote: “I can’t afford for you clowns to mess around with my business.”

Within hours, Google removed the feature citing a “bug”.

Google software engineer Victor-bogdan Anchidin wrote: “Well, it looks like we pranked ourselves this year.

“Due to a bug, the Mic Drop feature inadvertently caused more headaches than laughs. We’re truly sorry.”