Kostya,
Today, I encountered an interesting edge case.
First, I started writing an e-mail in a different client (IMAP), then I saved a draft their.
That draft had a "From:" address (identity in terms of Aquamail) that is not configured for this account in Aquamail.
Then, I went to Drafts in Aquamail with the intent to complete and send the message.
When I clicked on the message in the message list, Aquamail opened an editor, but the saved e-mail body was positioned as if it was a forwarded message (with a check mark to exclude it and an option to edit it in place).
While finishing the message (I edited it "in place"), - I got distracted to a different app (phone). So, Aquamail automatically saved the message to Drafts.
So, when I opened that same message in the first client, the message (obviously) lost the original "From:".
(Just in case: the message is in plain text in both clients.)
I understand that Aqua is working here as intended by the creator, so it is not really a bug.
But here is what my concerns are, and what I'd wish to be different.
1. Once I opened the Draft message in Aquamail, I've lost the draft with the original "From:" no matter what:
If Aqua saves a draft, it overwrites the old one. If I tell Aqua "cancel", it will probably delete that draft completely (haven't tested that really, didn't want to risk it).
And looking at the message list I have no way of telling that the message has a different "From:".
2. I am guessing that the logic behind this behavior is: ok, this message doesn't seem to be from here, so, we must be "forwarding" it. But then, I am not sure if overwriting the original "Draft" is in line with that intent.
(On another hand, I am guessing, you don't want to leave a ghosty draft behind as some other clients happily do even in a standard situation.)
3. So, what I'd want and expect to happen?
In the ideal world, - I'd want that "From:" to be preserved with an option of replacing it with the configured identities (at the time of sending, or at the beginning and at the time of sending, as it happens when writing a reply).
I understand that you might have a hesitation: no, that identity is not configured here, so, the message might bounce. But if I am messing with identities at that level, I probably know what I am doing.
(I can see a scenario when someone by mistake saves an incoming message to Drafts, and then, can get confused. Still ...)
Also, I am thinking aloud: probably, it would be nice to see the "From:" in the message list in Drafts, - at least for those messages that have it different from the known identities. Or, maybe it will make it too messy... I don't know.