thunderbird-android icon indicating copy to clipboard operation
thunderbird-android copied to clipboard

Request: Per-Account "Quiet Time"

Open Targren opened this issue 9 years ago • 10 comments

With the current state of affairs, I can't use the "Quiet Time" function because I have both an "emergency notification" account, which I want to wake me up if it goes off, and a regular work contact account, which I could really do without bleeping at me at 4am.

Is there any possibility or intention of making this function available on a per-account basis? Right now, I'm only able to use K9 for the normal work account since I can't seem to find another app with a similar functionality.

I'd much rather go back to using it for all of them.

Targren avatar Jan 05 '16 17:01 Targren

I would argue that for Android 5.0 and newer, Quiet Time is actually obsolete.

Android 5.0 has introduced "priority notifications" and "do not disturb" modes. In Android 6.0, we have 4 system wide sound modes; Normal, Priority Only, Alarms Only, Total Silence.

When you activate one of the non-normal modes, you have options to revert to normal manually, after a set time, or after the next alarm.

IN ADDITION, the "more settings" button brings up a menu including an option to configure "Automatic Rules". You are able to create an unlimited number of rules for switching in and out of sound modes based on day of week, start time, and end time.

Unlike k9mail's quiet time, which can be configured for a SINGLE time block, EVERY day, the Android implementation allows you to create multiple rules and defining which days they apply to. It is much more versatile.

Obviously, it wouldn't be appropriate to strip out quiet time until at least the vast majority of k9mail users are up to Android 5.0 or newer, but it might make sense to detect the Android version and disable quiet time for the newer versions (and obviously refer to the feature of Android).

Tying in to the priority notifications API will make it possible to control notifications on a priority basis, and with a minor hack, would allow the control of notifications on an account by account basis.

I have created an issue to this effect here; https://github.com/k9mail/k-9/issues/1000

lbdroid avatar Jan 06 '16 15:01 lbdroid

I have a 'work-around' for this issue that has worked well. On my Note 3, running K-9 5.107 with 10 email accounts, I have a 'notification and separate ring tone' called Perfectly Silent. It is recording of about 5 seconds of dead air/no sounds (SilentNotification.oog).

When I need to be quiet or at night, my phone's automation sets this notification tone as the default. My "emergency notification" email address has a custom notification tone (ST:TNG's Red Alert).

This way when all but the emergency one get a message it plays the silence notification (as loud as it can) as it should and I hear the screams of silence. Those screams are pretty easy to sleep through due to how loud they are. When the emergency one goes off during this time, it plays its custom Red Alert notification and after I pull myself off the ceiling I can look to see what the emergency is.

I also have wanted this feature for a long time, but until it happens have found this is an excellent way of getting around it. This also helps me to avoid using any of the Android's global sound modes and thus getting the emergency messages when I need them.

rls73 avatar Jan 25 '16 17:01 rls73

What "automation" are you using to set that up? Is it something specific to the Samsung/Note rom?

Targren avatar Mar 07 '16 16:03 Targren

I currently use the automation software, Llama - Location Profiles (https://play.google.com/store/apps/details?id=com.kebab.Llama&hl=en). I have used this on my previous Galaxy SII and my current Note 3. (Just exported the rules from the SII and imported them to the Note 3.)

rls73 avatar Mar 07 '16 22:03 rls73

  1. Modify the "Silent" profile.
  • Choose vibrate mode: Ring
  • Change ringtone: checked
  • Ringtones (Select a ringtone): SilentRingtone
  • Change notification tones: SilentNotification (Copy of SilentRingtone, just renamed)
  1. Create Event Conditions: Set what is best for you Actions: Change Profile: Silent

---Example--- My Conditions (I charge my phone while sleeping)

  • Enter Area: Home
  • Time Between 21:30 - 06:59
  • Charging Status: Charging from AC My Actions
  • Change Profile: Silent

My Weekend even adds: Day of the week: Saturday, Sunday Time Between: 0700-0959

rls73 avatar Mar 07 '16 23:03 rls73

Having the option to set quiet time per-account (by exception) seems to be an excellent t way to deliver useful functionality without forcing more complex configuration on the user. I gave up and enabled it for all accounts today after being woken up by overnight spam, despite having alerts disabled entirely for all but a special case account... this feature would have by far been a preferred approach.

blakjaknz avatar Jun 05 '16 21:06 blakjaknz

Although I'm aware this issue doesn't have much momentum, I would definitely find it quite useful. My use-case is that I would like to keep my personal email active on evenings and weekends, whereas my job email would be silent.

minami-o avatar Jun 08 '19 17:06 minami-o

I would really like to be able to set a per account syncing time (I don't think that's possible, not even overall, right?).

Like other people in this thread, I'm using k-9 for private and work accounts and would really like to turn on syncing on the work account Mo-Fr 9-5 and otherwise don't even fetch mail.

(just for info: I happen to know multiple people who uninstalled k-9 on their phones because they were annoyed by work mails at night.)

JBGruber avatar Apr 01 '20 17:04 JBGruber

I would love this feature! To set the notification to specific weekdays and for each account would be a big improvement!

mrbutcher93 avatar Apr 06 '20 16:04 mrbutcher93

Given that this issue has multiple others linked to it, is there any chance it will be considered for the roadmap?

A common switch among myself and friends was from Aqua Mail. Those of us that have find the inability to tune out of work while still getting personal emails the one drawback of switching.

Fmstrat avatar Jan 28 '24 15:01 Fmstrat