When I want to reply on email, but change my mind and disregard new draft, CRM deletes my original email. So I don't have any of that 2 emails.
Disregard draft action deletes original email instead of new one.
New email (draft one) should be deleted, and original kept intact.
Deletes both emails.
This is a major bug, canceling emails are impossible due to the deletion of the original email.
EDIT of my comment
I was misled about database state, so gave it one more test and code review.
It seems that DRAFT is original mail (it has the same ID) and when discarded it is set deleted = 1
(modules/Emails/EmailsController.php, function: action_DeleteDraft() ).
Why draft is not a new bean, I don't know; but that should be only correct way.
Hi @fcorluka,
This issue has been confirmed to exist and is replicable in the latest 7.10.x version.
I guess the system does technically warn for this but it's very vague and you would assume it means the draft.

Either way definitely needs work.
Thanks :+1:
Does anyone have some architectural plan for the EMAILS module and all actions (functions) so that I could try to fix this, or should I wait for dev team?
BR,
Filip
This is a major oversight and corruption of emails.
There is another problem problem related to this...
Save Draft on a replied email it overwrites the original emaildate_entered from the original message that was replied todate_sent is not setuid is copied from original beanhttps://github.com/salesagility/SuiteCRM/pull/8715
Ive created this to fix some of these issues, it will not allow you to discard a message that is not in draft status, it will also create a new message if you press Save Draft