Does Stalwart Mail Server support "Remind Me" or "Snooze" functionality using JMAP? #1260
                  
                    
                      mudasir477
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment
-
| 
         It doesn't support snooze yet.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to implement a "Remind Me" or "Snooze" feature for emails, similar to the one in iCloud Mail, using the Stalwart Mail Server and JMAP protocol.
I attempted to set the snoozeUntil property for an email using the following request:
Request Body:
{
"using": ["urn:ietf:params:jmap:mail"],
"methodCalls": [
[
"Email/set",
{
"accountId": "**",
"update": {
"g2aaaafg": {
"mailboxIds": {
"k": true
},
"keywords": {
"$snoozed": true
},
"snoozeUntil": "2025-02-28T10:00:00Z",
"targetMailboxId": "a"
}
}
},
"1"
]
]
}
Response:
{
"methodResponses": [
[
"Email/set",
{
"accountId": "**",
"oldState": "ssosybphawdljgay",
"newState": "ssosybphawdljgay",
"notUpdated": {
"g2aaaafg": {
"type": "invalidProperties",
"description": "Invalid property or value.",
"properties": [
"snoozeUntil"
]
}
}
},
"1"
]
],
"sessionState": "3e25b2a0"
}
The response indicates that the snoozeUntil property is invalid. Does Stalwart support snooze functionality using JMAP, or is there another recommended way to implement this feature? If not, are there any JMAP extensions or other methods to implement a "Remind Me" feature?
Any guidance would be much appreciated!
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions