Skip to content

Chatmail: IMAP METADATA (RFC 5464) extension support #290

Open
@s0ph0s-dog

Description

This is part of a series of issues tracking chatmail support in Mox.

Chatmail servers support push notifications for iOS and Android through a work around that requires the cooperation of the mail server. Delta Chat clients set push notification tokens by using the IMAP SETMETADATA command to inform the server what the notification token is. The server then sends a POST request to notifications.delta.chat which includes the notification token in the body. The notifications service then uses the Apple or Google push notification APIs to prod client devices to wake up and check for new emails. Delta Chat also looks at another metadata key to see if the server provides an Iroh relay for real-time P2P message passing in WebXDC applications.

In order to enable this functionality, Mox needs support for the RFC 5464 IMAP METADATA extension. This will require support for all of the behaviors described in the specification, but it also requires enough programmatic extension points for other parts of Mox to react when metadata keys are set or read.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions