**Product**: Carbonio CE
**Version**: 25.6.1
**Component**: Webmail composer / message drafting
**Environment**:
- OS: Ubuntu Server 22.04 (backend), Windows 11 (client)
- Browser: Chrome 125, Firefox 126
---
### 🐞 Summary
When composing a new email in Carbonio CE, if the message is sent before the autosave mechanism triggers, the email is sent **missing a portion of the body content**.
It seems the system sends the previously autosaved draft instead of the latest text present in the editor. This leads to email messages being sent **incomplete**, especially when content is pasted or typed quickly and the user clicks “Send” right away.
---
### 🔁 Steps to Reproduce
1. Compose a new email in Carbonio CE Web interface.
2. Type or paste content into the message body.
3. Immediately click **Send** before autosave occurs.
4. Open the message in “Sent” folder or review with the recipient.
5. Observe that the message body is truncated (missing recent input).
---
### ✅ Expected Behavior
The entire message as shown in the editor (including unsaved text) should be included in the sent email.
---
### ❌ Actual Behavior
Only the content up to the last autosave is sent. The remaining unsaved edits are silently discarded.
---
### 📎 Additional Notes
- This behavior was consistently observed on multiple browsers.
- Manually saving the draft before sending prevents the issue.
- Likely related to asynchronous handling of editor state vs. send action.
---
### ⚠️ Impact
This issue may cause serious miscommunication or data loss, as users are unaware that what they typed or pasted right before clicking "Send" is **not** included in the final message.
---
Please let us know if this behavior is confirmed and if there’s a fix or workaround planned.