Skip to content

[Bug]: Drafts can't be sent #592

Description

@random-mcrafter

Description

When you attempt to send an email which has been saved as a draft, it just doesn't send.

Steps to Reproduce

  1. Go to write an email(in the attached video I just did to myself, but the bug occurs regardless of the receiver).
  2. Wait for it to get automatically saved as a draft.
  3. Go to the "Drafts" folder, select that draft and click on "Edit".
  4. Now click "Send".
  5. Observe how the draft stays in the "Draft" folder and can be edited and sent again.
  6. Check the "Sent" folder and observe how the draft wasn't sent.

Expected Behavior

I expected that the draft will get sent and disappear from the "Drafts" folder.

Actual Behavior

The draft does not get sent and it stays in the "Drafts" folder.

Bulwark Version

1.7.7

Stalwart Mail Server Version

0.16.12

Browser

Firefox

Operating System

Windows

Screenshots / Screen Recording

Here is my screen recording: https://github.com/user-attachments/assets/b1becb0b-70d9-4bce-935f-e41084320c04

I did create a test account just for this in order to not leak my emails.

Relevant Logs or Error Output

There is nothing relevant in the Bulwark logs, but here is the ones for Stalwart I think may be relevant:

2026-07-10T15:26:25Z INFO Message appended via JMAP (message-ingest.jmap-append) listenerId = "http", localPort = 8080, remoteIp = 172.19.0.7, remotePort = 57578, accountId = 1, documentId = 136, mailboxId = [3], blobId = "54197e3e72c3db46e954a7660d956ffc1c301e977d7639378998f7b018091c8a", changeId = 389, messageId = "18c0f723dee041fe.926483a790bead4e.f982ef0bff0b558d@660760d8f800", size = 705, elapsed = 17ms
2026-07-10T15:26:31Z INFO Message appended via JMAP (message-ingest.jmap-append) listenerId = "http", localPort = 8080, remoteIp = 172.19.0.7, remotePort = 57578, accountId = 1, documentId = 137, mailboxId = [3], blobId = "3fc18e3488315e99c3919c4ca14bcd0cd9d45da1453d855e7e9f5256f4bf6045", changeId = 391, messageId = "18c0f72545f2be8b.70cdc537b2fe3691.33a98f593b3d2379@660760d8f800", size = 711, elapsed = 18ms

Additional Context

I've deployed using Docker images for both Bulwark and Stalwart. I use Caddy as a reverse proxy and I use Cloudflare to proxy Bulwark.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions