Due to my absent-mindedness or inattention, I have occasionally sent a mail several times, having forgotten to attach a document.
The solution may be an unobtrusive reminder of this, starting from the simple text “Did you remember the document?” Near the “Send” button, or the possibility of initial selection of a letter with an attached document that cannot be sent without it, or at least you cannot do it with one click.