# IMAP APPEND does not result in EmailDelivery push notification

**URL:** https://support.stalw.art/t/imap-append-does-not-result-in-emaildelivery-push-notification/1932
**Category:** Issues
**Created:** [October 13, 2026, 6:51pm UTC](https://support.stalw.art/t/imap-append-does-not-result-in-emaildelivery-push-notification/1932 "2026-10-13T18:51:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Zeus](https://support.stalw.art/letter_avatar_proxy/v4/letter/z/a4c791/32.png) [@Zeus](https://support.stalw.art/u/Zeus)
#### Post date: [October 13, 2026, 6:51pm UTC](https://support.stalw.art/t/imap-append-does-not-result-in-emaildelivery-push-notification/1932/1 "2026-10-13T18:51:12Z")

</div>

### Issue Description

When receiving emails added via IMAP APPEND, an EmailDelivery push notification is not generated. This results in downstream clients not registering a notification for the new email (Bulwark mail), while other emails deliver a normal push notification.

### Stalwart Version

v0.16.x

### Installation Method

Docker

### Database Backend

PostgreSQL

### Blob Storage

Filesystem

### Search Engine

PostgreSQL

### Directory Backend

Internal

### Additional Context

According to the JMAP RFC ( [RFC 8621: The JSON Meta Application Protocol (JMAP) for Mail | RFC Editor](https://www.rfc-editor.org/info/rfc8621/#section-1.5) ), it seems this should count as an EmailDelivery.

In addition, servers that implement the “urn:ietf:params:jmap:mail”  
capability MUST support pushing state changes for a type called  
“EmailDelivery”. There are no methods to act on this type; it only  
exists as part of the push mechanism. The state string for this MUST  
change whenever a new Email is added to the store, but it SHOULD NOT  
change upon any other change to the Email objects, for example, if  
one is marked as read or deleted.

### I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.

on

### I have searched this support forum (open and closed topics) and confirm this is not a duplicate.

on

### I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.

on

---

<div class="post-metadata">

### Author: ![helpbot](https://support.stalw.art/user_avatar/support.stalw.art/helpbot/32/13_2.png) [@helpbot](https://support.stalw.art/u/helpbot)
#### Post date: [October 13, 2026, 6:52pm UTC](https://support.stalw.art/t/imap-append-does-not-result-in-emaildelivery-push-notification/1932/2 "2026-10-13T18:52:00Z")

</div>

This confirms the suspicion. Let’s check the delivery.rs and import.rs/set.rs to compare which paths include EmailDelivery.

Based on the server source, this matches what’s happening. IMAP `APPEND` and JMAP `Email/import` both only broadcast a `StateChange` with the `Email`, `Mailbox`, and `Thread` types:

```rust
self.broadcast_push_notification(PushNotification::StateChange(
    StateChange::new(account_id)
        .with_change_id(change_id)
        .with_change(DataType::Email)
        .with_change(DataType::Mailbox)
        .with_change(DataType::Thread),
))

```

The `EmailDelivery`/`EmailPush` notification (used for the JMAP Email Push mechanism, which is what drives push clients like Bulwark) is only emitted from the SMTP local-delivery path, in `deliver_message`:

```rust
if ingested_message.change_id != u64::MAX {
    self.broadcast_push_notification(PushNotification::EmailPush(EmailPush {
        account_id,
        email_id: ingested_message.document_id,
        change_id: ingested_message.change_id,
    }))
    .await;
}

```

So messages added via IMAP `APPEND` (and also via JMAP `Email/import`) do update the `Email` state and will show up to IDLE/JMAP clients polling for state changes, but they do not trigger the dedicated `EmailPush`/`EmailDelivery` push event that mobile/push-notification clients rely on. This appears to be a gap relative to the RFC 8621 requirement you quoted, since the spec says the `EmailDelivery` state must change whenever a new Email is added to the store, regardless of how it arrived.

A human maintainer will need to confirm whether this is intended scope (EmailPush reserved for SMTP-delivered mail) or should be extended to cover IMAP APPEND and JMAP import as well.

_This is an automated reply from the Stalwart Help Bot. Other community members may follow up if this answer is incomplete or wrong._

---

<div class="post-metadata">

### Author: ![stalwart](https://support.stalw.art/user_avatar/support.stalw.art/stalwart/32/12_2.png) [@stalwart](https://support.stalw.art/u/stalwart)
#### Post date: [October 15, 2026, 4:45pm UTC](https://support.stalw.art/t/imap-append-does-not-result-in-emaildelivery-push-notification/1932/3 "2026-10-15T16:45:51Z")

</div>

Fixed in v0.16.27 (yet to be released).
