Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
Show all 7 items in the list
Tags used for linking issues. [ID: 1172495]
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
The problem:
Messages can be snoozed in Gmail, however, no information related to the snooze is accessible through the API.
Explanation
Firstly, When accessing the messages, snoozed messages does not have any indication as to when the message re-entered the inbox. This makes the messages seemingly appear out of order in the INBOX.
Secondly, messages
in:snoozed
do no share as to when they will reenter the INBOX, while the information still available in the web UI.Lastly, as stated in issue #109952618 , snooze is widespread amongst 3rd party clients and providing the API would enable those to integrate better with Gmail.
Implemenatation ideas
While the feature is prevalent, there is no common standard, so there are no bounds as to how to implement this.
Option 1: extra mail headers (X-Snoozed)
Add the snoozed information as extra mail headers, for example:
The
at
could be optional as that might not be as interesting as theuntil
part.Option 1/a: additional Received
Add the information as an additional
Received
header.This is is quite hacky, as that is not the purpose of the
Received
header. but wanted to mention as an alternative, since those headers contain the date the mail was received.Option 2: new method on the endpoint
Add the information through a new method on the endpoint. For example:
and the returned object could have the "message" object, and next to it a "snoozed" object, like:
Option 2/a: variants
Obviously, the aforementioned object example can be refined based on what internal design principles:
snoozed
object could be flattened tosnoozedUntil
andsnoozedAt
fieldssnoozedAt
being optionalOption 1+2: why not both?
Provide the information both through Internet Message Headers
X-Snoozed*
and the REST API.This needs extra work, but would provide with more consistency (between user agents) and less astonishment (for users and developers).
Closing thoughts
While this wasn't meant to be a specification, I hope that the effort put into implementation ideas was worth, and this issue will be picked up.