[ ] Create new toggle inside Notification Screen. When it's on, user will only receive push notification when new emails come to Inbox mailbox, and when it's off, user will receive push notification when new emails come to every mailbox
[ ] Cache the state of this toggle on Swift native side with UserDefaults on suiteName of app's group id, with the help of MethodChannel
[ ] Check the status of Inbox notification cache. If it's on, add a server request for Inbox mailbox info before requesting for emails' details when receiving notification in Swift side (TwakeMailNSE)
[ ] When preparing to push notification, if the email contains Inbox mailbox id, temporary mark it with a TODO
[ ] Add filtering entitlement in order to have the ability to silent alert notification
[ ] Replace all TODO marked push notification with empty notification
Root issue
2874
Implementation details
Inbox
mailbox, and when it's off, user will receive push notification when new emails come to every mailboxUserDefaults
onsuiteName
of app's group id, with the help of MethodChannelInbox notification
cache. If it's on, add a server request forInbox
mailbox info before requesting for emails' details when receiving notification in Swift side (TwakeMailNSE)Inbox
mailbox id, temporary mark it with a TODOalert notification