jeremy-compostella / org-msg

OrgMsg is a GNU/Emacs global minor mode mixing up Org mode and Message mode to compose and reply to emails in a Outlook HTML friendly style.
GNU General Public License v3.0
276 stars 57 forks source link

Alert if no attachments in an email where there should be #128

Closed Hugo-Heagren closed 2 years ago

Hugo-Heagren commented 3 years ago

I've just managed to send an email in which I mention the attached files, but forgot to actually attach them. I seem to do this far too much. Something I really miss from when I used to use neomutt was being alerted when an email contained a phrase like 'attached files' or similar, but had no attachments. It would be good (and I think, not too difficult) to implement something like this in org-msg. The predicate to check whether the email 'should' have attachments could be user-configurable too, so people could write their own functions for this if they liked.

jeremy-compostella commented 2 years ago

Let's start with something simple (see patch above).

Hugo-Heagren commented 2 years ago

Looks great to me!