Gmail has a built-in characteristic that reminds you of including file attachments earlier than the e-mail is distributed to the recipient. Gmail scans the textual content of your electronic mail and reveals an alert if it thinks you supposed to incorporate a file attachment within the message however forgot to take action.
Should you haven’t seen this earlier, compose a brand new electronic mail in Gmail, add “I’ve hooked up the file” within the physique and hit ship. Gmail will pop-up a warning saying – “it looks as if you forgot to connect the file.”
How does the forgotten attachment detector work inside Gmail? I used to be wanting on the supply code of Gmail.com utilizing Chrome Dev Tools and located an fascinating snippet that bares all of it.
Once you hit the ship button, Gmail scans the textual content of your outgoing message and appears for the next phrase combos utilizing regex.
|see hooked up|see attachment|see included|is hooked up|hooked up is|are hooked up|hooked up are|hooked up to this electronic mail|hooked up to this message|I’m attaching|I’m attaching|I’ve hooked up|I’ve hooked up|I connect|I hooked up|discover hooked up|discover the hooked up|discover included|discover the included|hooked up file|see the hooked up|see attachments|hooked up information|see the attachment
If a match is discovered, a warning is proven so that you’ll always remember to incorporate that essential attachment once more.
Microsoft Outlook too consists of an attachment detector characteristic and, in contrast to Gmail, it additionally supplies you an choice to outline customized key phrases that ought to set off the lacking attachment alert.
Additionally see: Download Gmail Attachments to Google Drive