Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snooze mails #2048

Closed
11 tasks done
Tracked by #5478 ...
jakobroehrl opened this issue Sep 29, 2019 · 21 comments · Fixed by #8694
Closed
11 tasks done
Tracked by #5478 ...

Snooze mails #2048

jakobroehrl opened this issue Sep 29, 2019 · 21 comments · Fixed by #8694

Comments

@jakobroehrl
Copy link

jakobroehrl commented Sep 29, 2019

Feature Request

To keep the inbox clean and clear it would be nice to snooze mails for x hours or y days.
Often the inbox is a kind of todo list. So if you can't do the todo right now you can snooze it for later.
Of I you send an importand mail you will keep track of it. So you can snooze the send mail and it will apear in the future, so you can ask about the status or send the demand again.

Summary

snozze a mail and move it automaticly back to the inbox after the choosen snozze time has expired

Work packages

Follow-ups

@ChristophWurst
Copy link
Member

This requires us to store more of the IMAP state locally.

@szaimen
Copy link
Contributor

szaimen commented Sep 30, 2019

Maybe you could do it the way Microsoft is doing it in Outlook on Android:
If you use the snooze button the first time, you get a popup in which you get asked for defining an imap-folder for snoozed mails. So if your are snoozing mails, they get moved into this folder. And if I understood it correctly, the information until when it reappers inside your inbox is stored locally on your imap client, which is perfect for this usecase, because nextcloud mail is running on a server. The only downside is, that you cannot see this snoozing (or the day when it reappers inside your inbox) inside other imap-clients.

@jakobroehrl
Copy link
Author

Here is how Kapano solves it.
You can add reminders to mails. This could be shown in the calendar and generate notifications:
grafik

@Friptick
Copy link

Friptick commented Jan 9, 2020

Been looking for this since forever. Follow-up, reminder, snooze, whatever it takes. Just make the message go away for x days. As OP says, many (probably most) people treat their inbox as a kind of to-do list. Incidentally, the snooze feature is a crucial part of the Inbox Zero and Getting Things Done methodologies, not to mention just being common sense.

Sorry to pile on without more specific information, but I was ready to post a new issue with what @jakobroehrl said, to the word. Which suggests that there might be latent demand for this feature.

@stale
Copy link

stale bot commented Sep 27, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@ChristophWurst
Copy link
Member

This requires us to store more of the IMAP state locally.

We have this since #2064

@kintaro1981
Copy link

recently I found two different solutions:
this is specific for roundbube but maybe can be usefull
https://github.com/toptensoftware/roundcube-snooze

this is another platform indipendent but a little more cumbersome:
https://github.com/kaosfere/snoozebox

@kintaro1981
Copy link

@ChristophWurst something is moving? :-)

@ChristophWurst
Copy link
Member

Nothing our team is working on at the moment but if someone has time to contribute this feature we'd happily help to get it done.

@kintaro1981
Copy link

kintaro1981 commented Feb 4, 2023

Here the implementation in cypht webmail:
cypht-org/cypht#659

@kintaro1981

This comment was marked as resolved.

@ChristophWurst
Copy link
Member

@nimishavijay @jancborchardt there are some stray specs for this feature at nextcloud/server#39181 (comment). Could you please write down how snooze/remind should work in Mail specifically?

My interpretation was that we do the real snooze feature first and move message between inboxes and dedicated snooze mailboxes. A background job moves the messages back when the snooze timer expired.

What role do Nextcloud notifications play for this feature? Are previously snoozed messages/threads sorted differently than regular messages?

@ChristophWurst
Copy link
Member

I wonder if snoozing and reminding are even the same feature.

Snoozing: hide this message and show it to me later
Reminding: leave this messages where it is but send me a notifications about it later on

🤔

@nimishavijay nimishavijay self-assigned this Jul 20, 2023
@nimishavijay
Copy link
Member

My interpretation was that we do the real snooze feature first and move message between inboxes and dedicated snooze mailboxes. A background job moves the messages back when the snooze timer expired.

That is true! The 2 features where simply along the same lines of filing something away for later on.

What you described is exactly what we had in mind as well.

  • the action menu of the mail has a "Snooze thread" action
  • On clicking that a second level of actions come up, very similar to the "Send later" action menu while composing a message, except it says
    • < Snooze until
    • Tomorrow morning - 21 Jul 9:00 AM
    • Monday morning - 24 Jul 9:00 AM
    • Custom time
      [datetime picker] (nice-to-have)

@jancborchardt any preferences for the time? Gmail has tomorrow morning, this weekend, and next week. NC's send later has tomorrow morning, tomorrow afternoon and monday morning

image

  • If you click on any of the options the mail disappears from the inbox
  • there should be a "Snoozed" folder where the mail is now visible along with an icon on the right to indicate that it is snoozed, maybe the schedule icon
  • the snoozed mail can have all the usual actions as a regular mail in the 3 dot menu, except in the second level of actions when you click on snooze:
    • the active snooze option is the selected item
    • there is an extra item at the end with the option "Unsnooze"
  • when the snooze time is reached, the mail appears at the top of the inbox with the snooze icon on the right (if the mail was unread when it was snoozed the icon can be on the left of the unread counter)

What do you think? :)

@kintaro1981
Copy link

In Gmail:

  • The snoozed email disappear from the inbox and go to the "postponed" folder, where instead of the original date/time is displayed the date (or the time if within today) to which the mail is postponed and is possibile to change date or disable it.
  • The snoozed mail once the timer expire is displayed like it is just been delivered above the others and the date/time is bold and orange to make it more visible, once the mail is read it display the original date/time. I don't know what happens after some time, maybe is sorted back to its original date/time?

@ChristophWurst
Copy link
Member

@JohannesGGE @jancborchardt ticket description updated with work packages and the MVP specs.

@jancborchardt
Copy link
Member

Thanks @ChristophWurst! 2 questions / clarifications:

  • "Snooze/Later mailbox created by user" – should be created automatically, not by users no?
  • Part of the MVP should also be to make the unsnoozed mail be marked as unread, right?

@ChristophWurst
Copy link
Member

I can imagine some people don't want us to create the mailbox automatically. Just like a lot of people don't like Mail to flag messages as important and have that flag show on other clients too.
The (automatically created) snooze mailbox will show on Thunderbird/K9. Some organizations use our Mail app to provision every Nextcloud user's email account. Even if someone never uses the Mail app, they will then suddenly see the mailbox.

We can brainstorm about this. For a MVP the automatic creation is not needed.


I don't know if marking as unread is common behavior for this feature. @JohannesGGE did you observe any such behavior with the other snooze implementations?

@JohannesGGE
Copy link
Contributor

The behavior is not consistent regarding marking as unread. But most of the implementations do mark them as "was snoozed" in some way. So marking as unread is probably a good idea for the MVP.

@JohannesGGE
Copy link
Contributor

Reopen because just the MVP is done.

@ChristophWurst
Copy link
Member

All work packages have been done. Closing.

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

Successfully merging a pull request may close this issue.

9 participants