The user can pick a time in the composer.
“Send later” saves the message with a time. It does not send.
routes.ts:18 · createScheduled()
The server sets the owner and the status. The client cannot.
A user can hold 50 scheduled messages at most.
How many scheduled messages per user?
The user sees and changes scheduled messages in one list.
A new folder lists them, soonest first.
Three actions work on a message until it starts to send.
A message is sent only at its time. A failed send is kept.
A worker claims due messages once a minute.
store.ts:58 · claimDue()
Cancel wins if it lands before the worker's claim.
A failed send is tried again, then left for the user.
Should a failed send retry on its own?
The user is told when a scheduled message fails.
How is the user told?
The last failed try adds one notification.
Shared: one new table.
How long do sent and cancelled rows stay?
Not changing: normal send, drafts, the mail provider.
sendMessage()is called as it is.- Drafts keep their own table.
- No recurring sends. One message, one time.