mail icon indicating copy to clipboard operation
mail copied to clipboard

Add local drafts backend

Open miaulalala opened this issue 3 years ago • 0 comments

Fixes https://github.com/nextcloud/mail/issues/7076

Move the draft handling from IMAP to our local messages mailbox.

To do:

  • [ ] Provide API endpoints
  • [ ] Tests
  • [ ] Background Job that syncs drafts without UID to IMAP
  • [ ] Background Job that syncs drafts from IMAP to the local mailbox

There was some discussion about whether the drafts box should be unified or not.

  • [x] ~~Clarify whether we need to split messages on a per account basis (this should be possible to handle with a few changes)~~ Neither. Local drafts are not visible to the user ever but have an account ID assigned.

miaulalala avatar Sep 07 '22 22:09 miaulalala