List scheduled messages
GET
/scheduledLists every message waiting to go at a set time, soonest first.
Needs the permissionscheduled:list
It covers every mailbox the key’s owner can see, not only what this key scheduled. Move one with Reschedule a message, or cancel it with Delete a draft.
Returns
A list of messages, each with:
messageIdstring- The message.
threadIdstring- The conversation it’s in.
subjectstring- Its subject.
tolist of strings- Its recipients.
scheduledAtstring- When it will go.
Errors
401invalid_key- The key is wrong, expired or revoked. With no Authorization header at all, the code is
missing_credentials. 403missing_scope- The key doesn’t have
scheduled:list. TheX-Required-Scopeheader names what’s missing. 429rate_limited- More than 120 requests a minute from this key. Wait for
Retry-Afterseconds.