There's a closed pull request on the mblaze repository mcom: check if a draft was found when invoking `mcom -r` https://github.com/leahneukirchen/mblaze/pull/169 Description: Without this patch `mcom -r` would invoke $EDITOR on a directory if the maildir did not contain any drafts. To prevent this from happening, check if a draft was found before performing any further processing. If not, terminate mcom with an error message.