Save as draft discards any attachments
When you save a message as a draft any attachments are discarded silently. This is problem is especially annoying if you forward a message containing attachments (e.g. HTML only mail) and try saving it as a draft.
Steps to reproduce:
- Create a message
- Attach a file (a)
- Save as draft (P)
- Open draft
Workaround: Switch to other buffers (;) and just keep the edit-message-mode buffers in the background. However data in these buffers are lost if the application crashes.
The problem here is that drafts are saved on disk as well. A possible solution would be to create a directory next to the email (named, say, /tmp/sup.replymode20150113-12345-abcdefg.eml.attachments to refer to the associated email), remove this dir along with the draft when it is sent/discarded, and re-load it automatically when editing the draft.
Another option is to have magic headers like mutt supports (http://www.mutt.org/doc/devel/manual.html#edit-header) or to save the full encoded message with attachments.